Skip to content

Commit

Permalink
[build-utils] add log to package manager version detection (#11592)
Browse files Browse the repository at this point in the history
  • Loading branch information
EndangeredMassa committed May 13, 2024
1 parent 423630a commit 1682ad4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/young-baboons-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vercel/build-utils": patch
---

add log to package manager version detection
4 changes: 4 additions & 0 deletions packages/build-utils/src/fs/run-user-scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,10 @@ export function getEnvForPackageManager({
env,
});

debug(
`Detected ${detectedPackageManager} with lockfileVersion ${lockfileVersion} (${typeof lockfileVersion}): ${newPath}`
);

const newEnv: { [x: string]: string | undefined } = {
...env,
};
Expand Down

0 comments on commit 1682ad4

Please sign in to comment.