this has to be right

This commit is contained in:
Lucas Gravley 2020-09-09 10:04:21 -05:00
parent eb67d9b9c6
commit dbd4cd673d

View file

@ -166,7 +166,7 @@ function LintCodebase() {
elif [[ ${DIR_NAME} == *"${TEST_CASE_FOLDER}"* ]]; then elif [[ ${DIR_NAME} == *"${TEST_CASE_FOLDER}"* ]]; then
# This is the test cases, we should always skip # This is the test cases, we should always skip
continue continue
elif [[ ${DIR_NAME} == *".git" ]]; then elif [[ ${DIR_NAME} == *".git" ]] || [[ ${FILE_NAME} == *".git/"* ]]; then
# This is likely the .git folder and shouldn't be parsed # This is likely the .git folder and shouldn't be parsed
continue continue
elif [[ ${DIR_NAME} == *".venv"* ]]; then elif [[ ${DIR_NAME} == *".venv"* ]]; then