From 20da3ca6e17cbff591da844dc2312c13c2b21fb6 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 13 Feb 2019 21:54:30 +0100 Subject: [PATCH] stars: Fix typo in error message The command is called stars, not starts. --- lib/stars.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stars.js b/lib/stars.js index ea3581f1d4b44..8b28baffd8c9a 100644 --- a/lib/stars.js +++ b/lib/stars.js @@ -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 {