Skip to content

Commit

Permalink
stars: Fix typo in error message (#158)
Browse files Browse the repository at this point in the history
The command is called stars, not starts.

PR-URL: #158
Credit: @phihag
Reviewed-By: @zkat
  • Loading branch information
phihag authored and zkat committed Feb 18, 2019
1 parent 774fc26 commit 863baff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stars.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function stars ([user], cb) {
})
}).catch(err => {
if (err.code === 'ENEEDAUTH') {
throw Object.assign(new Error("'npm starts' on your own user account requires auth"), {
throw Object.assign(new Error("'npm stars' on your own user account requires auth"), {
code: 'ENEEDAUTH'
})
} else {
Expand Down

0 comments on commit 863baff

Please sign in to comment.