Skip to content

Commit

Permalink
fix: cleanup if statement (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving authored Jan 5, 2024
1 parent ef8c8f3 commit a428289
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ exit_code=$?

if [ ! -f "${LYCHEE_TMP}" ]; then
echo "No output. Check pipeline run to see if lychee panicked." > "${LYCHEE_TMP}"
fi

# If we have any output, create a report in the designated directory
if [ -f "${LYCHEE_TMP}" ]; then
else
# If we have any output, create a report in the designated directory
mkdir -p "$(dirname -- "${INPUT_OUTPUT}")"
cat "${LYCHEE_TMP}" > "${INPUT_OUTPUT}"

Expand Down

0 comments on commit a428289

Please sign in to comment.