mirror of
https://github.com/docker/build-push-action.git
synced 2026-01-20 17:48:55 +08:00
Throw error message instead of exit code
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
5af5c5fa9d
commit
de804a56b7
5 changed files with 76 additions and 14 deletions
|
|
@ -7,7 +7,7 @@ export interface ExecResult {
|
|||
stderr: string;
|
||||
}
|
||||
|
||||
export const exec = async (command: string, args: string[] = [], silent: boolean): Promise<ExecResult> => {
|
||||
export const exec = async (command: string, args: string[] = [], silent?: boolean): Promise<ExecResult> => {
|
||||
let stdout: string = '';
|
||||
let stderr: string = '';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue