Skip to content

Commit 507258f

Browse files
add back as a default on win32
1 parent 664e2dd commit 507258f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/utils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function run(command, args = [], options = {}) {
8181
const commandDetails = `+ ${command} ${args.join(' ')}${options.cwd ? ` (in: ${options.cwd})` : ''}`;
8282
console.error(commandDetails);
8383
const proc = spawn(command, args, {
84-
shell: true,
84+
shell: process.platform === 'win32',
8585
stdio: 'inherit',
8686
cwd: resolveRoot('.'),
8787
...options

0 commit comments

Comments
 (0)