Browse Source

fix(cli): Hide output when installing packages

Michael Bromley 1 year ago
parent
commit
dea7ba745b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/cli/src/shared/package-json-ref.ts

+ 1 - 1
packages/cli/src/shared/package-json-ref.ts

@@ -170,7 +170,7 @@ export class PackageJson {
                     args.push('--save-dev');
                     args.push('--save-dev');
                 }
                 }
             }
             }
-            const child = spawn(command, args, { stdio: 'inherit' });
+            const child = spawn(command, args, { stdio: 'ignore' });
             child.on('close', code => {
             child.on('close', code => {
                 if (code !== 0) {
                 if (code !== 0) {
                     const message = 'An error occurred when installing dependencies.';
                     const message = 'An error occurred when installing dependencies.';