simplify it.sh

This commit is contained in:
WebFreak001 2023-09-24 14:34:10 +02:00 committed by Jan Jurzitza
parent 6491d792f5
commit fc1699bb97
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 {