simplify it.sh

This commit is contained in:
WebFreak001 2023-09-24 14:34:10 +02:00
parent c9984b3498
commit 18691462ad
No known key found for this signature in database
GPG Key ID: AEFC88D11109D1AA
1 changed files with 2 additions and 3 deletions

View File

@ -6,11 +6,10 @@ function section {
e=$'\e'
if [ ! -z "${GITHUB_ACTION:-}" ]; then
echo "::endgroup::"
fi
if [ ! -z "${GITHUB_ACTION:-}" ]; then
echo "::group::$@"
else
echo "$e[1m$@$e[m"
fi
echo "$e[1m$@$e[m"
}
function error {