Submit
Path:
~
/
/
opt
/
alt
/
alt-nodejs11
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
pacote
/
lib
/
util
/
File Content:
finished.js
'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) } }) }) }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
cache-key.js
129 bytes
0644
finished.js
419 bytes
0644
git.js
7461 bytes
0644
opt-check.js
1219 bytes
0644
pack-dir.js
1050 bytes
0644
proclog.js
340 bytes
0644
N4ST4R_ID | Naxtarrr