Skip to content

Commit

Permalink
docs: add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 12, 2024
1 parent 18e62a5 commit be163fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export class ProcessPromise extends Promise<ProcessOutput> {
this._zurk.then(({ error, stdout, stderr, stdall, status, signal }) => {
if (error) {
const message = ProcessOutput.getErrorMessage(error, self._from)
// Should we enable this?
// (nothrow ? self._resolve : self._reject)(
self._reject(
new ProcessOutput(null, null, stdout, stderr, stdall, message)
Expand Down

0 comments on commit be163fd

Please sign in to comment.