Additional API changes

This commit is contained in:
Nathan Byrd
2023-10-10 19:43:58 +00:00
parent 577992bbe5
commit 498c4a6082
2 changed files with 1 additions and 5 deletions

View File

@@ -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}`)