refactor: try to condense the action in fewer steps
This should make it easier to debug/maintain.
This commit is contained in:
parent
1b14f63169
commit
dd7cf9e09e
3 changed files with 79 additions and 51 deletions
|
@ -12,6 +12,11 @@ error() {
|
|||
log "\e[0;31m[WARN]:" "$@" "\e[0m"
|
||||
}
|
||||
|
||||
panic() {
|
||||
error "$@"
|
||||
exit 1
|
||||
}
|
||||
|
||||
group() {
|
||||
echo "::group::$1"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue