Skip to content

Commit 863baff

Browse files
phihagzkat
authored andcommitted
stars: Fix typo in error message (#158)
The command is called stars, not starts. PR-URL: #158 Credit: @phihag Reviewed-By: @zkat
1 parent 774fc26 commit 863baff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function stars ([user], cb) {
2727
})
2828
}).catch(err => {
2929
if (err.code === 'ENEEDAUTH') {
30-
throw Object.assign(new Error("'npm starts' on your own user account requires auth"), {
30+
throw Object.assign(new Error("'npm stars' on your own user account requires auth"), {
3131
code: 'ENEEDAUTH'
3232
})
3333
} else {

0 commit comments

Comments
 (0)