Skip to content

Commit

Permalink
Fixed the CI to only check files that exist (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski authored Sep 20, 2024
1 parent ef9307d commit 77f8085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bashisms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Check for bashisms in changed files
run: |
for file in $(git diff --name-only origin/${{ github.base_ref }} HEAD core/tabs); do
if [[ "$file" == *.sh ]]; then
if [[ "$file" == *.sh ]] && [[ -f "$file" ]];; then
checkbashisms "$file"
fi
done

0 comments on commit 77f8085

Please sign in to comment.