From ed6729b716d281c2c4058d3553f3229a80203a79 Mon Sep 17 00:00:00 2001 From: "antoine.leveugle" Date: Thu, 29 Apr 2021 21:01:15 +0200 Subject: [PATCH] fix: use error loglevel for installing dependencies Because warnings during dependencies installation are not meants to make crash the release Closes #57 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7b7b8002..f012c734 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const path = require('path'); const run = async () => { // Install Dependencies { - const {stdout, stderr} = await exec('npm ci --only=prod', { + const {stdout, stderr} = await exec('npm --loglevel error ci --only=prod', { cwd: path.resolve(__dirname) }); console.log(stdout);