From 880380d118932ff2352fda3b7df24758e2a35b70 Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Wed, 9 Sep 2020 10:18:12 -0500 Subject: [PATCH] if i could only read --- lib/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/worker.sh b/lib/worker.sh index 203eaffe..11390894 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -166,7 +166,7 @@ function LintCodebase() { elif [[ ${DIR_NAME} == *"${TEST_CASE_FOLDER}"* ]]; then # This is the test cases, we should always skip continue - elif [[ ${DIR_NAME} == *".git" ]] || [[ ${FILE_NAME} == *".git/"* ]]; then + elif [[ ${DIR_NAME} == *".git" ]] || [[ ${FILE} == *".git/"* ]]; then # This is likely the .git folder and shouldn't be parsed continue elif [[ ${DIR_NAME} == *".venv"* ]]; then