[build-utils] add log to package manager version detection (#11592)

This commit is contained in:
Sean Massa
2024-05-13 14:01:58 -05:00
committed by GitHub
parent 423630a168
commit 1682ad43d0
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@vercel/build-utils": patch
---
add log to package manager version detection

View File

@@ -553,6 +553,10 @@ export function getEnvForPackageManager({
env, env,
}); });
debug(
`Detected ${detectedPackageManager} with lockfileVersion ${lockfileVersion} (${typeof lockfileVersion}): ${newPath}`
);
const newEnv: { [x: string]: string | undefined } = { const newEnv: { [x: string]: string | undefined } = {
...env, ...env,
}; };