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:
Diffstat (limited to 'lib/view.js')
-rw-r--r--lib/view.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/view.js b/lib/view.js
index 7bbedcf65..e0df1e231 100644
--- a/lib/view.js
+++ b/lib/view.js
@@ -20,6 +20,11 @@ const readJson = async file => jsonParse(await readFile(file, 'utf8'))
const BaseCommand = require('./base-command.js')
class View extends BaseCommand {
/* istanbul ignore next - see test/lib/load-all-commands.js */
+ static get description () {
+ return 'View registry info'
+ }
+
+ /* istanbul ignore next - see test/lib/load-all-commands.js */
static get name () {
return 'view'
}