diff --git a/tests/check-format.sh b/tests/check-format.sh index 4a1d70aa..144984b3 100755 --- a/tests/check-format.sh +++ b/tests/check-format.sh @@ -2,10 +2,6 @@ echo "Checking bash scripts with shellcheck" >&2 -shellcheck --check-sourced --severity=style --color=always --exclude=SC2164,SC2086,SC2012,SC2016 \ - build/common/worker/docker-entrypoint.sh \ - build/common/worker/healthcheck.sh \ - build/common/worker/install_app.sh \ - build/erpnext-nginx/install_app.sh \ - build/frappe-nginx/docker-entrypoint.sh \ - build/frappe-socketio/docker-entrypoint.sh +while IFS= read -r shellfile; do + shellcheck --check-sourced --severity=style --color=always --exclude=SC2164,SC2086,SC2012,SC2016 ${shellfile} +done < <(find ./build -name "*.sh")