Skip to content

Commit

Permalink
fix: use error loglevel for installing dependencies
Browse files Browse the repository at this point in the history
Because warnings during dependencies installation are not meants to make crash the release
Closes cycjimmy#57
  • Loading branch information
denouche authored and gsmlg committed Sep 10, 2021
1 parent d9de785 commit 404e484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -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);
Expand Down

0 comments on commit 404e484

Please sign in to comment.