Changes to API for node-pty

This commit is contained in:
Nathan Byrd
2023-10-10 19:33:25 +00:00
parent 4d70f07fde
commit 577992bbe5
4 changed files with 8 additions and 8 deletions

View File

@@ -166,8 +166,8 @@ class ScheduledEvent {
});
return cb(e);
}
proc.once('exit', exitCode => {
proc.onExit(exitCode => {
if (exitCode) {
Log.warn(
{ eventName: this.name, action: this.action, exitCode: exitCode },