Skip to content

Commit

Permalink
fix: owner rm at local pkg not work
Browse files Browse the repository at this point in the history
PR-URL: #1971
Credit: @ShangguanQuail
Close: #1971
Reviewed-by: @ruyadorno
  • Loading branch information
liuye.adam authored and ruyadorno committed Oct 16, 2020
1 parent ded42b4 commit 5cf71c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/owner.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function rm (user, pkg, opts) {
if (!pkg) {
return readLocalPkg().then(pkg => {
if (!pkg) { UsageError() }
return add(user, pkg, opts)
return rm(user, pkg, opts)
})
}
log.verbose('owner rm', '%s from %s', user, pkg)
Expand Down

0 comments on commit 5cf71c6

Please sign in to comment.