summaryrefslogtreecommitdiff
path: root/deps/npm/lib/commands/unpublish.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/commands/unpublish.js')
-rw-r--r--deps/npm/lib/commands/unpublish.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/commands/unpublish.js b/deps/npm/lib/commands/unpublish.js
index 85c366381c..42c9c1db96 100644
--- a/deps/npm/lib/commands/unpublish.js
+++ b/deps/npm/lib/commands/unpublish.js
@@ -32,7 +32,7 @@ class Unpublish extends BaseCommand {
return []
}
- const opts = this.npm.flatOptions
+ const opts = { ...this.npm.flatOptions, log }
const username = await getIdentity(this.npm, { ...opts }).catch(() => null)
if (!username) {
return []