Skip to content

Commit

Permalink
Fix up output
Browse files Browse the repository at this point in the history
  • Loading branch information
obscurerichard committed May 14, 2024
1 parent cd0a762 commit 7b777e7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions bin/run_fawltydeps
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ DELIMITER=$(echo $RANDOM | md5sum | head -c 20)
if [[ "$exit_code" -eq 0 ]]; then
echo "OK: 'fawltydeps $*' :rocket:" > "$GITHUB_STEP_SUMMARY"
else
{
# shellcheck disable=SC2006
cat <<EOF
Error: 'fawltydeps $*' found issues:
echo "Error: 'fawltydeps $*' found issues:"
fi
if [[ -n "${fawltydeps_result}" ]]; then
# shellcheck disable=SC2006
cat <<EOF > "$GITHUB_STEP_SUMMARY"
\`\`\`
${fawltydeps_result}
\`\`\`
EOF
} > "$GITHUB_STEP_SUMMARY"
fi
exit $exit_code

0 comments on commit 7b777e7

Please sign in to comment.