Skip to content

Commit f4cf155

Browse files
committed
Simplify with --silent
1 parent acd695a commit f4cf155

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/commands/optimize.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -900,10 +900,7 @@ export const optimize: CliSubcommand = {
900900
[
901901
wrapperPath,
902902
'install',
903-
'--no-audit',
904-
'--no-fund',
905-
'--no-progress',
906-
'--quiet'
903+
'--silent'
907904
],
908905
{
909906
stdio: 'ignore',

test/socket-npm.test.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ for (const npm of ['npm8', 'npm10']) {
2121

2222
spawnSync(
2323
'npm',
24-
['install', '--no-audit', '--no-fund', '--no-progress', '--quiet'],
24+
['install', '--silent'],
2525
{
2626
cwd: npmPath,
2727
stdio: 'ignore'

0 commit comments

Comments
 (0)