mirror of
https://code.forgejo.org/docker/build-push-action.git
synced 2025-09-10 18:00:57 +00: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