Just filter the .git folder

This commit is contained in:
Goryudyuma(Kei.Matsumoto) 2020-09-05 02:24:06 +09:00
parent c58bab2627
commit b31b696e00
No known key found for this signature in database
GPG key ID: 45F3507BFAD2D777

View file

@ -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