فهرست منبع

fix(cli): Hide output when installing packages

Michael Bromley 1 سال پیش
والد
کامیت
dea7ba745b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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');
                 }
             }
-            const child = spawn(command, args, { stdio: 'inherit' });
+            const child = spawn(command, args, { stdio: 'ignore' });
             child.on('close', code => {
                 if (code !== 0) {
                     const message = 'An error occurred when installing dependencies.';