Skip to content

Commit f67e212

Browse files
committed
fix(dev): describe what the frozen setup install guarantees
1 parent 504ee13 commit f67e212

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/setup-worktree.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const worktree = NodePath.dirname(import.meta.dirname);
2121
// `shell` resolves `vp` through PATH, including Windows command shims.
2222
// Setup has no one answering install prompts. Pass pnpm's confirmation flag
2323
// through vp and leave stdin closed so other prompts fail instead of hanging.
24-
// Install the branch's locked dependencies without dirtying tracked files.
24+
// Install exactly the locked dependencies so setup never rewrites the lockfile.
2525
// A stale lockfile must fail setup rather than silently resolving a new one.
2626
const install = NodeChildProcess.spawnSync("vp i --frozen-lockfile -- --yes", {
2727
cwd: worktree,

0 commit comments

Comments
 (0)