Installing dependencies.
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
const BaseCommand = require('../base-command.js')
|
||||
class Root extends BaseCommand {
|
||||
static description = 'Display npm root'
|
||||
static name = 'root'
|
||||
static params = ['global']
|
||||
static ignoreImplicitWorkspace = true
|
||||
|
||||
async exec () {
|
||||
this.npm.output(this.npm.dir)
|
||||
}
|
||||
}
|
||||
module.exports = Root
|
||||
Reference in New Issue
Block a user