Remove leading v from Node.js debug version

This commit is contained in:
Sam Becker 2026-01-31 15:15:45 -06:00
parent 58cbe73909
commit 0b47d9d618
2 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,7 @@ export default function AdminAppInsightsClient({
codeMeta?: Awaited<ReturnType<typeof getGitHubMetaForCurrentApp>> codeMeta?: Awaited<ReturnType<typeof getGitHubMetaForCurrentApp>>
nextVersion: string nextVersion: string
reactVersion: string reactVersion: string
nodeVersion: string nodeVersion?: string
insights: ReturnType<typeof getAllInsights> insights: ReturnType<typeof getAllInsights>
usedDeprecatedEnvVars: typeof USED_DEPRECATED_ENV_VARS usedDeprecatedEnvVars: typeof USED_DEPRECATED_ENV_VARS
photoStats: PhotoStats photoStats: PhotoStats
@ -306,12 +306,12 @@ export default function AdminAppInsightsClient({
</Link> </Link>
</>} </>}
/> />
<ScoreCardRow {nodeVersion && <ScoreCardRow
icon={<IconNode className="translate-y-px" />} icon={<IconNode className="translate-y-px" />}
content={<span> content={<span>
Node.js {nodeVersion} Node.js {nodeVersion}
</span>} </span>}
/> />}
</ScoreCard> </ScoreCard>
</>} </>}
<ScoreCard title="Template recommendations"> <ScoreCard title="Template recommendations">

View File

@ -530,7 +530,7 @@ export const APP_CONFIGURATION = {
// Misc // Misc
nextVersion: dependencies.next, nextVersion: dependencies.next,
reactVersion: dependencies.react, reactVersion: dependencies.react,
nodeVersion: process.version, nodeVersion: (process.version || '').match(/[0-9.]+$/)?.[0],
baseUrl: BASE_URL, baseUrl: BASE_URL,
baseUrlShare: BASE_URL_SHARE, baseUrlShare: BASE_URL_SHARE,
commitSha: VERCEL_GIT_COMMIT_SHA_SHORT, commitSha: VERCEL_GIT_COMMIT_SHA_SHORT,