-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix exit code for run command (#502)
- Loading branch information
Showing
6 changed files
with
75 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
! exec runme run test-singleline | ||
stdout 'failhereplease: (command )?not found' | ||
|
||
! exec runme run test-multiline | ||
stdout 'failhereplease: (command )?not found' | ||
stderr 'could not execute command: failed to run command "test-multiline": exit code: 127' | ||
|
||
! exec runme run-locally test-singleline | ||
! stdout . | ||
stderr 'failhereplease: (command )?not found' | ||
|
||
! exec runme run-locally test-multiline | ||
! stdout . | ||
stderr 'failhereplease: (command )?not found' | ||
|
||
-- README.md -- | ||
```sh { "name": "test-singleline" } | ||
failhereplease && echo single | ||
``` | ||
|
||
```sh { "name": "test-multiline" } | ||
failhereplease | ||
echo multi | ||
``` |