From 236529bc7bb582a978940147e8e5faabfb87adab Mon Sep 17 00:00:00 2001 From: Nick Merwin Date: Mon, 25 Nov 2019 13:31:14 -0800 Subject: [PATCH] Update logger.js --- lib/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logger.js b/lib/logger.js index daba4d33..fdcad098 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -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'; }