We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d3925 commit 21bab02Copy full SHA for 21bab02
1 file changed
src/utils/shadow-npm.ts
@@ -28,12 +28,12 @@ export function shadowNpmInstall(opts?: ShadowNpmInstallOptions) {
28
// Lazily access constants.rootBinPath.
29
path.join(constants.rootBinPath, 'npm-cli.js'),
30
'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.
+ // Even though the '--silent' flag is passed npm will still run through
+ // code paths for 'audit' and 'fund' unless '--no-audit' and '--no-fund'
+ // flags are passed.
34
...(useDebug
35
? ['--no-audit', '--no-fund']
36
- : ['silent', '--no-audit', '--no-fund']),
+ : ['--silent', '--no-audit', '--no-fund']),
37
...flags
38
],
39
{
0 commit comments