Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/view.js b/lib/view.js
index 0124bfb7d..5b45a78a7 100644
--- a/lib/view.js
+++ b/lib/view.js
@@ -213,7 +213,7 @@ class View extends BaseCommand {
if (pckmnt.time && pckmnt.time.unpublished) {
const u = pckmnt.time.unpublished
- const er = new Error('Unpublished by ' + u.name + ' on ' + u.time)
+ const er = new Error('Unpublished on ' + u.time)
er.statusCode = 404
er.code = 'E404'
er.pkgid = pckmnt._id