Skip to content

Commit aedb072

Browse files
committed
Use stdio 'ignore' where relevant
1 parent 67104f4 commit aedb072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/optimize.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ export const optimize: CliSubcommand = {
804804
process.execPath,
805805
[wrapperPath, 'install', '--no-audit', '--no-fund'],
806806
{
807-
stdio: 'pipe',
807+
stdio: 'ignore',
808808
env: {
809809
...process.env,
810810
UPDATE_SOCKET_OVERRIDES_IN_PACKAGE_LOCK_FILE: '1'
@@ -813,7 +813,7 @@ export const optimize: CliSubcommand = {
813813
)
814814
} else {
815815
// All package managers support the "install" command.
816-
await spawn(agentExecPath, ['install'], { stdio: 'pipe' })
816+
await spawn(agentExecPath, ['install'], { stdio: 'ignore' })
817817
}
818818
spinner.stop()
819819
if (isNpm) {

0 commit comments

Comments
 (0)