From 8e787f7f13c5940b09b4767b1adc1468ef7dadc0 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Fri, 5 Aug 2022 15:26:40 +0200 Subject: [PATCH] Treat loglevel silly as verbose too See https://github.com/prebuild/node-gyp-build/issues/49#issuecomment-1206448566 --- bin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin.js b/bin.js index 36bd515..1648f0e 100755 --- a/bin.js +++ b/bin.js @@ -61,7 +61,9 @@ function buildFromSource () { } function verbose () { - return hasFlag('--verbose') || process.env.npm_config_loglevel === 'verbose' + return hasFlag('--verbose') || + process.env.npm_config_loglevel === 'verbose' || + process.env.npm_config_loglevel === 'silly' } // TODO (next major): remove in favor of env.npm_config_* which works since npm