Skip to content

Commit 5cf71c6

Browse files
liuye.adamruyadorno
liuye.adam
authored andcommitted
fix: owner rm at local pkg not work
PR-URL: #1971 Credit: @ShangguanQuail Close: #1971 Reviewed-by: @ruyadorno
1 parent ded42b4 commit 5cf71c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/owner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function rm (user, pkg, opts) {
151151
if (!pkg) {
152152
return readLocalPkg().then(pkg => {
153153
if (!pkg) { UsageError() }
154-
return add(user, pkg, opts)
154+
return rm(user, pkg, opts)
155155
})
156156
}
157157
log.verbose('owner rm', '%s from %s', user, pkg)

0 commit comments

Comments
 (0)