system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
| Direktori : /lib/node_modules/npm/lib/commands/ |
| Current File : //lib/node_modules/npm/lib/commands/prefix.js |
const BaseCommand = require('../base-command.js')
class Prefix extends BaseCommand {
static description = 'Display prefix'
static name = 'prefix'
static params = ['global']
static usage = ['[-g]']
static ignoreImplicitWorkspace = true
async exec (args) {
return this.npm.output(this.npm.prefix)
}
}
module.exports = Prefix