From 38cb8a218bb62ea7a8b83452d74e2f52cc3fe678 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 18 Apr 2020 10:30:09 +0200 Subject: [PATCH] [enh] silence npm warnings --- scripts/install | 6 +++--- scripts/upgrade | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 01599c3..c27a502 100644 --- a/scripts/install +++ b/scripts/install @@ -154,9 +154,9 @@ ynh_script_progression --message="Performing Node app installation..." --time -- chown -R $app: $final_path pushd $final_path/src - exec_as $app $nodejs_path/npm install node-gyp - exec_as $app $nodejs_path/npm install - exec_as $app $nodejs_path/npm audit fix + exec_as $app $nodejs_path/npm --loglevel=error install node-gyp + exec_as $app $nodejs_path/npm --loglevel=error install + exec_as $app $nodejs_path/npm --loglevel=error audit fix popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c9b9c15..1d0cff3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -143,9 +143,9 @@ ynh_script_progression --message="Performing Node app installation..." --time -- chown -R $app: $final_path pushd $final_path/src - exec_as $app $nodejs_path/npm install node-gyp - exec_as $app $nodejs_path/npm install - exec_as $app $nodejs_path/npm audit fix + exec_as $app $nodejs_path/npm --loglevel=error install node-gyp + exec_as $app $nodejs_path/npm --loglevel=error install + exec_as $app $nodejs_path/npm --loglevel=error audit fix popd #=================================================