One Hat Cyber Team
Your IP :
18.227.209.92
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
node_modules
/
npm
/
lib
/
commands
/
Edit File:
set.js
const BaseCommand = require('../base-command.js') class Set extends BaseCommand { static description = 'Set a value in the npm configuration' static name = 'set' static usage = ['<key>=<value> [<key>=<value> ...] (See `npm config`)'] static ignoreImplicitWorkspace = false // TODO /* istanbul ignore next */ async completion (opts) { return this.npm.cmd('config').completion(opts) } async exec (args) { if (!args.length) { throw this.usageError() } return this.npm.exec('config', ['set'].concat(args)) } } module.exports = Set
Simpan