From 09f73b2926218aea88f24f307129dd35a8a60b97 Mon Sep 17 00:00:00 2001 From: Jairon Alves Lima Date: Wed, 10 Jul 2024 01:33:26 -0300 Subject: [PATCH] feat: Linter --- .github/scripts/test-action-output.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/scripts/test-action-output.sh b/.github/scripts/test-action-output.sh index aae97b5..1d2ac94 100755 --- a/.github/scripts/test-action-output.sh +++ b/.github/scripts/test-action-output.sh @@ -21,12 +21,13 @@ else expected_result_summary=$(printf "%s" "${expected_result//\\/\\\\}" | sed 's/ /·/g') output_result_summary=$(printf "%s" "${output_result//\\/\\\\}" | sed 's/ /·/g') - echo "Expected Result:" >>"$GITHUB_STEP_SUMMARY" - echo "$expected_result_summary" >>"$GITHUB_STEP_SUMMARY" + { + echo "Expected Result:" + echo "$expected_result_summary" + echo "" + echo "Output Result:" + echo "$output_result_summary" + } >>"$GITHUB_STEP_SUMMARY" - echo "" >>"$GITHUB_STEP_SUMMARY" - - echo "Output Result:" >>"$GITHUB_STEP_SUMMARY" - echo "$output_result_summary" >>"$GITHUB_STEP_SUMMARY" exit 1 fi