mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
Fixed the CI to only check files that exist (#554)
This commit is contained in:
parent
ef9307dd83
commit
77f8085e2c
2
.github/workflows/bashisms.yml
vendored
2
.github/workflows/bashisms.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user