From b31b696e00a167ef45bc270861a766a58ff70cbf Mon Sep 17 00:00:00 2001 From: "Goryudyuma(Kei.Matsumoto)" <6211370+Goryudyuma@users.noreply.github.com> Date: Sat, 5 Sep 2020 02:24:06 +0900 Subject: [PATCH] Just filter the .git folder --- lib/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/worker.sh b/lib/worker.sh index 7fb995a5..657172f2 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -166,7 +166,7 @@ function LintCodebase() { elif [[ ${FILE} == *"${TEST_CASE_FOLDER}"* ]]; then # This is the test cases, we should always skip continue - elif [[ ${FILE} == *".git"* ]]; then + elif [[ ${FILE} == *".git" || ${FILE} == *".git/"* ]]; then # This is likely the .git folder and shouldn't be parsed continue elif [[ ${FILE} == *".venv"* ]]; then