Skip to content

Commit 21bab02

Browse files
committed
Fix silent flag typo regression
1 parent 08d3925 commit 21bab02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/utils/shadow-npm.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export function shadowNpmInstall(opts?: ShadowNpmInstallOptions) {
2828
// Lazily access constants.rootBinPath.
2929
path.join(constants.rootBinPath, 'npm-cli.js'),
3030
'install',
31-
// Even though the 'silent' flag is passed npm will still run through code
32-
// paths for 'audit' and 'fund' unless '--no-audit' and '--no-fund' flags
33-
// are passed.
31+
// Even though the '--silent' flag is passed npm will still run through
32+
// code paths for 'audit' and 'fund' unless '--no-audit' and '--no-fund'
33+
// flags are passed.
3434
...(useDebug
3535
? ['--no-audit', '--no-fund']
36-
: ['silent', '--no-audit', '--no-fund']),
36+
: ['--silent', '--no-audit', '--no-fund']),
3737
...flags
3838
],
3939
{

0 commit comments

Comments
 (0)