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

12 lines
258 B
JavaScript
Raw Normal View History

2023-02-23 15:38:30 +01:00
const BaseCommand = require('../base-command.js')
class Root extends BaseCommand {
static description = 'Display npm root'
static name = 'root'
static params = ['global']
async exec () {
this.npm.output(this.npm.dir)
}
}
module.exports = Root