summaryrefslogtreecommitdiff
path: root/deps/npm/lib/commands/hook.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/commands/hook.js')
-rw-r--r--deps/npm/lib/commands/hook.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/npm/lib/commands/hook.js b/deps/npm/lib/commands/hook.js
index 2ff6ac01ce..a4619802d8 100644
--- a/deps/npm/lib/commands/hook.js
+++ b/deps/npm/lib/commands/hook.js
@@ -19,6 +19,8 @@ class Hook extends BaseCommand {
'update <id> <url> <secret>',
]
+ static ignoreImplicitWorkspace = true
+
async exec (args) {
return otplease({
...this.npm.flatOptions,