Skip to content

Commit

Permalink
simplify it.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Sep 24, 2023
1 parent c9984b3 commit 1869146
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1869146

Please sign in to comment.