Skip to content

Commit b139d23

Browse files
committed
chore: make npm runnable on windows
1 parent 8c9c41c commit b139d23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/scripts/libmongocrypt.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ async function run(command, args = [], options = {}) {
5959
const commandDetails = `+ ${command} ${args.join(' ')}${options.cwd ? ` (in: ${options.cwd})` : ''}`;
6060
console.error(commandDetails);
6161
const proc = child_process.spawn(command, args, {
62+
shell: process.platform === 'win32',
6263
stdio: 'inherit',
6364
cwd: resolveRoot('.'),
6465
...options

0 commit comments

Comments
 (0)