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 1a0dd20 commit 3799d8e
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 3799d8e

Please sign in to comment.