Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
Silence output when no error occured
Browse files Browse the repository at this point in the history
  • Loading branch information
thibmaek committed Sep 4, 2018
1 parent 9fd8c3f commit 63979b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ module.exports = (args, flags) => {
await fs.writeFile(
`${flags.outputDir}/config.json`,
prettyJSON(mapping),
console.error
err => err && console.error(err),
);

if (flags.dump) {
await fs.writeFile(
`${flags.outputDir}/logdump.json`,
prettyJSON(response),
console.error
err => err && console.error(err),
);
}

Expand Down

0 comments on commit 63979b8

Please sign in to comment.