File manager - Edit - /opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/pacote/lib/util/finished.js
Back
'use strict' const BB = require('bluebird') module.exports = function (child, hasExitCode = false) { return BB.fromNode(function (cb) { child.on('error', cb) child.on(hasExitCode ? 'close' : 'end', function (exitCode) { if (exitCode === undefined || exitCode === 0) { cb() } else { let err = new Error('exited with error code: ' + exitCode) cb(err) } }) }) }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings