Skip to content

Commit 5d7c1ee

Browse files
committed
chore: shell flag for windows
1 parent 071fdc6 commit 5d7c1ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/libmongocrypt.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ export async function buildLibMongoCrypt(libmongocryptRoot, nodeDepsRoot, option
140140
await run(
141141
options.cMakePath,
142142
[...CMAKE_FLAGS, ...WINDOWS_CMAKE_FLAGS, ...DARWIN_CMAKE_FLAGS, libmongocryptRoot],
143-
{ cwd: nodeBuildRoot }
143+
{ cwd: nodeBuildRoot, shell: process.platform === 'win32' }
144144
);
145145
await run(options.cMakePath, ['--build', '.', '--target', 'install', '--config', 'RelWithDebInfo'], {
146-
cwd: nodeBuildRoot
146+
cwd: nodeBuildRoot, shell: process.platform === 'win32'
147147
});
148148
}
149149

0 commit comments

Comments
 (0)