Skip to content

Commit

Permalink
Fix logger regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and nickmerwin committed Nov 25, 2019
1 parent f58f8b9 commit 07ef879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger.js
Expand Up @@ -6,7 +6,7 @@ const index = require('..');
module.exports = () => logDriver({ level: getLogLevel() });

function getLogLevel() {
if (index.options.verbose || Boolean(process.env.NODE_COVERALLS_DEBUG)) {
if (index.options.verbose || process.env.NODE_COVERALLS_DEBUG == 1) {
return 'debug';
}

Expand Down

0 comments on commit 07ef879

Please sign in to comment.