Skip to content

Commit f6bfab9

Browse files
committed
Shell Check should succeed if you have no shell.
Motivation: If you have no shell, then all the shell you have must be correct. Modifications: Xargs to not run shellcheck if no input. Result: Shell Check will pass if there is no shell
1 parent 1e86dd8 commit f6bfab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/soundness.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
- name: Run shellcheck
189189
run: |
190190
apt-get -qq update && apt-get -qq -y install shellcheck
191-
git ls-files -z '*.sh' | xargs -0 shellcheck
191+
git ls-files -z '*.sh' | xargs -0 --no-run-if-empty shellcheck
192192
193193
yaml-lint-check:
194194
name: YAML lint check

0 commit comments

Comments
 (0)