Skip to content

Commit

Permalink
ci(shellcheck): fix exit code propagation (reanahub#29)
Browse files Browse the repository at this point in the history
Return properly the exit code status of shellcheck command when looping
through shell script files.
  • Loading branch information
tiborsimko committed Jan 26, 2024
1 parent 5e4713f commit 7012eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ check_commitlint () {
}

check_shellcheck () {
find . -name "*.sh" -exec shellcheck {} \;
find . -name "*.sh" -exec shellcheck {} \+
}

check_all () {
Expand Down

0 comments on commit 7012eb4

Please sign in to comment.