From 7012eb4cc8cac5adca6ab43fe0969f6c568d397b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20=C5=A0imko?= Date: Fri, 26 Jan 2024 10:11:36 +0100 Subject: [PATCH] ci(shellcheck): fix exit code propagation (#29) Return properly the exit code status of shellcheck command when looping through shell script files. --- run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.sh b/run-tests.sh index 19424f9..da182b5 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -28,7 +28,7 @@ check_commitlint () { } check_shellcheck () { - find . -name "*.sh" -exec shellcheck {} \; + find . -name "*.sh" -exec shellcheck {} \+ } check_all () {