Skip to content

Commit 086fa0b

Browse files
Fix PowerShell env context for audit check (#21157)
1 parent 5dc0705 commit 086fa0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make-util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ function performNpmAudit(taskPath) {
176176
const auditResult = ncp.spawnSync('npm', ['audit', '--prefix', taskPath, '--audit-level=high'], {
177177
stdio: 'pipe',
178178
encoding: 'utf8',
179+
shell: true
179180
});
180181

181182
if (auditResult.error) {

0 commit comments

Comments
 (0)