From f0399fa389469c2b22705f2c37237740722256b6 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Thu, 24 Jun 2021 17:43:25 +0530 Subject: [PATCH] ci: fix check format script [skip travis] --- tests/check-format.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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")