Skip to content

Commit

Permalink
In CliFormat use cli levels (not npm levels).
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixFrog committed Feb 1, 2022
1 parent 80547d6 commit a442b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a442b36

Please sign in to comment.