Additional API changes
This commit is contained in:
@@ -358,7 +358,7 @@ module.exports = class ArchiveUtil {
|
||||
output += data;
|
||||
});
|
||||
|
||||
proc.once('exit', exitCode => {
|
||||
proc.onExit(exitCode => {
|
||||
if (exitCode) {
|
||||
return cb(
|
||||
Errors.ExternalProcess(`List failed with exit code: ${exitCode}`)
|
||||
|
||||
Reference in New Issue
Block a user