Fix: Correct spawnSync parameters for pnpm check in bootstrap.mjs (cl… (#3952)

This commit is contained in:
ChuKhaLi 2025-05-25 11:19:52 +07:00 committed by GitHub
parent 8da985849f
commit fe9137b14e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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