Skip to content

Commit

Permalink
In CliFormat use cli levels (not npm levels). (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixFrog authored Feb 12, 2022
1 parent 5ee5fec commit 6c677ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { configs, MESSAGE } = require('triple-beam');
class CliFormat {
constructor(opts = {}) {
if (!opts.levels) {
opts.levels = configs.npm.levels;
opts.levels = configs.cli.levels;
}

this.colorizer = new Colorizer(opts);
Expand Down

0 comments on commit 6c677ed

Please sign in to comment.