From 85d1596c7f2631503783a3c5347250a72480f9ed Mon Sep 17 00:00:00 2001 From: ehmicky Date: Mon, 10 Jun 2019 10:00:00 +0200 Subject: [PATCH] Fix documentation about `result.command` --- index.d.ts | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index fd814f0f2a..c2be4cef1d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -195,7 +195,7 @@ declare namespace execa { interface ExecaReturnBase { /** - The command that was run. + The file and arguments that were run. */ command: string; diff --git a/readme.md b/readme.md index 6ce453c1b5..79573154e8 100644 --- a/readme.md +++ b/readme.md @@ -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. @@ -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