From fe9137b14e9507da4df43bb83bc0deb19570bbcd Mon Sep 17 00:00:00 2001 From: ChuKhaLi <15166543+ChuKhaLi@users.noreply.github.com> Date: Sun, 25 May 2025 11:19:52 +0700 Subject: [PATCH] =?UTF-8?q?Fix:=20Correct=20spawnSync=20parameters=20for?= =?UTF-8?q?=20pnpm=20check=20in=20bootstrap.mjs=20(cl=E2=80=A6=20(#3952)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/bootstrap.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap.mjs b/scripts/bootstrap.mjs index 6f0d09d01b..27e3fa2d49 100644 --- a/scripts/bootstrap.mjs +++ b/scripts/bootstrap.mjs @@ -41,7 +41,7 @@ function ensurePackageJson() { try { // Check if pnpm is installed globally. - const pnpmCheck = spawnSync("command", ["-v", "pnpm"], { shell: true }) + const pnpmCheck = spawnSync("pnpm", ["-v"], { shell: true }) let pnpmInstall