Skip to content

Commit

Permalink
feat: print error messages to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Jan 20, 2021
1 parent 96d2732 commit 68e3321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const logger = {
console.log(chalk.inverse(chalk.yellow(' WARN ')) + ' ' + chalk.yellow(message))
},
error(message) {
console.log(chalk.inverse(chalk.red(' ERROR ')) + ' ' + chalk.red(message))
console.error(chalk.inverse(chalk.red(' ERROR ')) + ' ' + chalk.red(message))
},
}

Expand Down

0 comments on commit 68e3321

Please sign in to comment.