Skip to content

Commit 94c320d

Browse files
committed
Fix: Correct spawnSync parameters for pnpm check in bootstrap.mjs (closes #3951)
1 parent 4729432 commit 94c320d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bootstrap.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function ensurePackageJson() {
4141

4242
try {
4343
// Check if pnpm is installed globally.
44-
const pnpmCheck = spawnSync("command", ["-v", "pnpm"], { shell: true })
44+
const pnpmCheck = spawnSync("pnpm", ["-v"], { shell: true })
4545

4646
let pnpmInstall
4747

0 commit comments

Comments
 (0)