Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mre authored Apr 25, 2024
1 parent dc0254e commit 235fa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi

# Overwrite the error code in case no links were found
# and `fail-if-empty` is set to `true` (and it is by default)
if [ "${INPUT_FAILIFEMPTY}" = true ]; then
if [ "${INPUT_FAIL_IF_EMPTY}" = true ]; then
# This is a somewhat crude way to check the Markdown output of lychee
if echo "${LYCHEE_TMP}" | grep -E 'Total\s+\|\s+0'; then
echo "No links were found. This usually indicates a configuration error." >> "${LYCHEE_TMP}"
Expand Down

0 comments on commit 235fa93

Please sign in to comment.