Skip to content

Commit

Permalink
Execute test: Update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmachos committed May 5, 2024
1 parent 8c6ee1d commit b460860
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:
/usr/bin/file "${file}" | /usr/bin/grep --quiet "bash" || \
/usr/bin/file "${file}" | /usr/bin/grep --quiet "zsh"; then
if "${{ github.workspace }}/shellcheck" --shell=bash "${shell_file}" ; then
echo "[PASS] $(/usr/bin/basename "${shell_file}")"
if "${{ github.workspace }}/shellcheck" --shell=bash "${file}" ; then
echo "[PASS] $(/usr/bin/basename "${file}")"
else
echo "[FAIL] $(/usr/bin/basename "${shell_file}")"
ERRORS+=("${shell_file}")
echo "[FAIL] $(/usr/bin/basename "${file}")"
ERRORS+=("${file}")
fi
fi
done
Expand Down

0 comments on commit b460860

Please sign in to comment.