Skip to content

Commit 224476d

Browse files
committed
fix(access): Send options with grant/revoke requests
1 parent 457d9d1 commit 224476d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/commands/access.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ class Access extends BaseCommand {
116116
}
117117

118118
async #grant (permissions, scope, pkg) {
119-
await libnpmaccess.setPermissions(scope, pkg, permissions)
119+
await libnpmaccess.setPermissions(scope, pkg, permissions, this.npm.flatOptions)
120120
}
121121

122122
async #revoke (scope, pkg) {
123-
await libnpmaccess.removePermissions(scope, pkg)
123+
await libnpmaccess.removePermissions(scope, pkg, this.npm.flatOptions)
124124
}
125125

126126
async #listPackages (owner, pkg) {

0 commit comments

Comments
 (0)