Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation about result.command #279

Merged
merged 1 commit into from Jun 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -195,7 +195,7 @@ declare namespace execa {

interface ExecaReturnBase<StdoutStderrType> {
/**
The command that was run.
The file and arguments that were run.
*/
command: string;

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -16,7 +16,7 @@
- [Executes locally installed binaries by name.](#preferlocal)
- [Cleans up spawned processes when the parent process dies.](#cleanup)
- [Get interleaved output](#all) from `stdout` and `stderr` similar to what is printed on the terminal. [*(Async only)*](#execasyncfile-arguments-options)
- [Can specify command and arguments as a single string without a shell](#execacommandcommand-options)
- [Can specify file and arguments as a single string without a shell](#execacommandcommand-options)
- More descriptive errors.


Expand Down Expand Up @@ -190,7 +190,7 @@ Result of a child process execution. On success this is a plain object. On failu

Type: `string`

The command that was run.
The file and arguments that were run.

#### exitCode

Expand Down