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/restart.js')
-rw-r--r--lib/restart.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/restart.js b/lib/restart.js
index 1f3eb5af9..840eb2067 100644
--- a/lib/restart.js
+++ b/lib/restart.js
@@ -3,6 +3,11 @@ const LifecycleCmd = require('./utils/lifecycle-cmd.js')
// This ends up calling run-script(['restart', ...args])
class Restart extends LifecycleCmd {
/* istanbul ignore next - see test/lib/load-all-commands.js */
+ static get description () {
+ return 'Restart a package'
+ }
+
+ /* istanbul ignore next - see test/lib/load-all-commands.js */
static get name () {
return 'restart'
}