Skip to content

Commit 9bec7ce

Browse files
shellcheck.yml
1 parent a866d46 commit 9bec7ce

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/shellcheck.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ 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[@]}"
29-
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[@]}"

0 commit comments

Comments
 (0)