summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/libnpmpack/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/libnpmpack/lib/index.js')
-rw-r--r--deps/npm/node_modules/libnpmpack/lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/node_modules/libnpmpack/lib/index.js b/deps/npm/node_modules/libnpmpack/lib/index.js
index a2c95cf938..dc9cfd2c4e 100644
--- a/deps/npm/node_modules/libnpmpack/lib/index.js
+++ b/deps/npm/node_modules/libnpmpack/lib/index.js
@@ -16,7 +16,7 @@ async function pack (spec = 'file:.', opts = {}) {
// Default to true if no log options passed, set to false if we're in silent
// mode
- const banner = !opts.log || (opts.log.level !== 'silent')
+ const banner = !opts.silent
if (spec.type === 'directory') {
// prepack