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:
authorNurbol Alpysbayev <anurbol@github.com>2021-10-05 14:03:37 +0300
committerGitHub <noreply@github.com>2021-10-05 14:03:37 +0300
commit5f24aa1df878a25f23237812cc718cc89cf7b604 (patch)
treeabbf203f6f7cfddf7e9abb76c7b84c277cadaf72
parent04eb43f2b2a387987b61a7318908cf18f03d97e0 (diff)
-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