Remove leading v from Node.js debug version
This commit is contained in:
parent
58cbe73909
commit
0b47d9d618
@ -137,7 +137,7 @@ export default function AdminAppInsightsClient({
|
||||
codeMeta?: Awaited<ReturnType<typeof getGitHubMetaForCurrentApp>>
|
||||
nextVersion: string
|
||||
reactVersion: string
|
||||
nodeVersion: string
|
||||
nodeVersion?: string
|
||||
insights: ReturnType<typeof getAllInsights>
|
||||
usedDeprecatedEnvVars: typeof USED_DEPRECATED_ENV_VARS
|
||||
photoStats: PhotoStats
|
||||
@ -306,12 +306,12 @@ export default function AdminAppInsightsClient({
|
||||
</Link>
|
||||
</>}
|
||||
/>
|
||||
<ScoreCardRow
|
||||
{nodeVersion && <ScoreCardRow
|
||||
icon={<IconNode className="translate-y-px" />}
|
||||
content={<span>
|
||||
Node.js {nodeVersion}
|
||||
</span>}
|
||||
/>
|
||||
/>}
|
||||
</ScoreCard>
|
||||
</>}
|
||||
<ScoreCard title="Template recommendations">
|
||||
|
||||
@ -530,7 +530,7 @@ export const APP_CONFIGURATION = {
|
||||
// Misc
|
||||
nextVersion: dependencies.next,
|
||||
reactVersion: dependencies.react,
|
||||
nodeVersion: process.version,
|
||||
nodeVersion: (process.version || '').match(/[0-9.]+$/)?.[0],
|
||||
baseUrl: BASE_URL,
|
||||
baseUrlShare: BASE_URL_SHARE,
|
||||
commitSha: VERCEL_GIT_COMMIT_SHA_SHORT,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user