Skip to content

Commit b177262

Browse files
committed
access: ls-collaborators is ok with non-scoped
Fixes: https://npm.community/t/npm-6-6-0-breaks-access-to-ls-collaborators/5101
1 parent 309260d commit b177262

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/access.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ access['ls-packages'] = access.lsPackages = ([owner], opts) => {
154154
}
155155

156156
access['ls-collaborators'] = access.lsCollaborators = ([pkg, usr], opts) => {
157-
return getPackage(pkg).then(pkgName =>
157+
return getPackage(pkg, false).then(pkgName =>
158158
libaccess.lsCollaborators(pkgName, usr, opts)
159159
).then(collabs => {
160160
// TODO - print these out nicely (breaking change)

0 commit comments

Comments
 (0)