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