Skip to content

Commit

Permalink
end isn't optional anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Mar 1, 2022
1 parent ea61a42 commit f9128c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BatchCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export class BatchCluster {
procs.map((proc) =>
proc
.end(gracefully, "ending")
?.catch((err) => this.emitter.emit("endError", asError(err)))
.catch((err) => this.emitter.emit("endError", asError(err)))
)
)
}
Expand Down

0 comments on commit f9128c3

Please sign in to comment.