From 5f5a4b61b07f3dbb488753f7bce4866aef7cf062 Mon Sep 17 00:00:00 2001 From: Jonas Hermsmeier Date: Mon, 3 Jul 2017 23:08:53 +0200 Subject: [PATCH] chore(scripts): Silence stdout for npm install (#1567) Change-Type: patch --- scripts/build/dependencies-npm.sh | 4 ++-- scripts/ci/install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build/dependencies-npm.sh b/scripts/build/dependencies-npm.sh index da63c861..9d55caa4 100755 --- a/scripts/build/dependencies-npm.sh +++ b/scripts/build/dependencies-npm.sh @@ -99,9 +99,9 @@ function run_install() { # When changing between target architectures, rebuild all dependencies, # since compiled add-ons will not work otherwise. - npm rebuild --silent + npm rebuild --silent > /dev/null - npm install --silent $INSTALL_OPTS + npm install --silent $INSTALL_OPTS > /dev/null if [ "$ARGV_PRODUCTION" == "true" ]; then diff --git a/scripts/ci/install.sh b/scripts/ci/install.sh index fcdc62da..9c7b621e 100755 --- a/scripts/ci/install.sh +++ b/scripts/ci/install.sh @@ -69,7 +69,7 @@ else npm config set spin=false npm config set progress=false - npm install -g --silent uglify-es@3.0.3 + npm install -g --silent uglify-es@3.0.3 > /dev/null pip install -r requirements.txt make info