Removed the Requirement to Install Python and NodeJS (Now Bundled with Borealis)
This commit is contained in:
14
Dependencies/NodeJS/node_modules/npm/lib/commands/root.js
generated
vendored
Normal file
14
Dependencies/NodeJS/node_modules/npm/lib/commands/root.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
const { output } = require('proc-log')
|
||||
const BaseCommand = require('../base-cmd.js')
|
||||
|
||||
class Root extends BaseCommand {
|
||||
static description = 'Display npm root'
|
||||
static name = 'root'
|
||||
static params = ['global']
|
||||
|
||||
async exec () {
|
||||
output.standard(this.npm.dir)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Root
|
Reference in New Issue
Block a user