Skip to content

Commit

Permalink
Improve sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 17, 2023
1 parent cc1cef2 commit 4ca4dda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ export type ExecaSyncError<StdoutStderrType extends StdoutStderrAll = string> =
shortMessage: string;

/**
Original error message. This is the same as the `message` property except it includes neither the child process `stdout`/`stderr` nor some additional information added by Execa.
Original error message. This is the same as the `message` property excluding the child process `stdout`/`stderr` and some additional information added by Execa.
This is `undefined` unless the child process exited due to an `error` event or a timeout.
*/
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ This is the same as the [`message` property](#message) except it does not includ

Type: `string | undefined`

Original error message. This is the same as the `message` property except it includes neither the child process `stdout`/`stderr` nor some additional information added by Execa.
Original error message. This is the same as the `message` property excluding the child process `stdout`/`stderr` and some additional information added by Execa.

This is `undefined` unless the child process exited due to an `error` event or a timeout.

Expand Down

0 comments on commit 4ca4dda

Please sign in to comment.