iot-backend/software/flow/node_modules/npm/lib/commands/restart.js

14 lines
310 B
JavaScript
Raw Normal View History

2023-02-23 15:38:30 +01:00
const LifecycleCmd = require('../lifecycle-cmd.js')
// This ends up calling run-script(['restart', ...args])
class Restart extends LifecycleCmd {
static description = 'Restart a package'
static name = 'restart'
static params = [
'ignore-scripts',
'script-shell',
]
}
module.exports = Restart