diff --git a/scripts/deploy.mjs b/scripts/deploy.mjs index e96fb23..9719cc7 100644 --- a/scripts/deploy.mjs +++ b/scripts/deploy.mjs @@ -344,7 +344,7 @@ async function readDeployment(path) { } function run(args, cwd = root, env = process.env) { - const result = spawnSync("pnpm", args, { cwd, env, stdio: "inherit" }); + const result = spawnSync("pnpm", args, { cwd, env, stdio: "inherit", shell: process.platform === "win32" }); if (result.error) throw result.error; if (result.status !== 0) { const where = relative(root, cwd) || ".";