/
proc
/
3430793
/
root
/
lib
/
node_modules
/
npm
/
lib
/
File Upload :
llllll
Current File: //proc/3430793/root/lib/node_modules/npm/lib/prefix.js
const BaseCommand = require('./base-command.js') class Prefix extends BaseCommand { /* istanbul ignore next - see test/lib/load-all-commands.js */ static get description () { return 'Display prefix' } /* istanbul ignore next - see test/lib/load-all-commands.js */ static get name () { return 'prefix' } /* istanbul ignore next - see test/lib/load-all-commands.js */ static get params () { return ['global'] } /* istanbul ignore next - see test/lib/load-all-commands.js */ static get usage () { return ['[-g]'] } exec (args, cb) { this.prefix(args).then(() => cb()).catch(cb) } async prefix (args) { return this.npm.output(this.npm.prefix) } } module.exports = Prefix
Copyright ©2k19 -
Hexid
|
Tex7ure