Skip to content

Commit

Permalink
Update logger.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmerwin committed Nov 25, 2019
1 parent 3a90b07 commit 236529b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const index = require('..');
module.exports = () => logDriver({ level: getLogLevel() });

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

Expand Down

0 comments on commit 236529b

Please sign in to comment.