Skip to content

Commit 56e78ba

Browse files
taneltmmrts
authored andcommitted
Fix failing windows build after Node security update
- CVE-2024-27980 - https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2 - This security issue is not relevant for a build tool Signed-off-by: Tanel Metsar <[email protected]>
1 parent ae4a4a6 commit 56e78ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build-utils.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export function exec(command, args = []) {
4747
return new Promise((resolve, reject) => {
4848
const child = spawn(command, args, {
4949
cwd: '.',
50-
stdio: 'inherit'
50+
stdio: 'inherit',
51+
...isWindows && { shell: true },
5152
});
5253

5354
child.on("close", (code) => {

0 commit comments

Comments
 (0)