Skip to content

Commit a866d46

Browse files
shellcheck.yml
1 parent 0802ec5 commit a866d46

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/shellcheck.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
sudo apt-get install -y shellcheck
1919
2020
- name: Run ShellCheck
21-
run: |
22-
shopt -s globstar nullglob
23-
files=(**/*.sh)
24-
if (( ${#files[@]} == 0 )); then
25-
echo "No shell scripts found."
26-
exit 0
27-
fi
28-
shellcheck -x "${files[@]}"
21+
run: |
22+
shopt -s globstar nullglob
23+
files=(**/*.sh)
24+
if (( ${#files[@]} == 0 )); then
25+
echo "No shell scripts found."
26+
exit 0
27+
fi
28+
shellcheck -x "${files[@]}"
29+

0 commit comments

Comments
 (0)