From fc1699bb9734ab5d3c694912b112ed246d007be6 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Sun, 24 Sep 2023 14:34:10 +0200 Subject: [PATCH] simplify it.sh --- tests/it.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/it.sh b/tests/it.sh index af7b0d5..b4990d1 100755 --- a/tests/it.sh +++ b/tests/it.sh @@ -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 {