mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 10:01:34 +00:00
add language recognizer
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
parent
652179bd8c
commit
3043388d5b
12 changed files with 6828 additions and 106 deletions
11
src/types.ts
Normal file
11
src/types.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
export interface CommandSucceeeded {
|
||||
readonly succeeded: true;
|
||||
readonly output?: string;
|
||||
}
|
||||
|
||||
export interface CommandFailed {
|
||||
readonly succeeded: false;
|
||||
readonly reason?: string;
|
||||
}
|
||||
|
||||
export type CommandResult = CommandFailed | CommandSucceeeded;
|
Loading…
Add table
Add a link
Reference in a new issue