mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 23:32:10 -05:00
Just filter the .git folder
This commit is contained in:
parent
c58bab2627
commit
b31b696e00
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ function LintCodebase() {
|
||||||
elif [[ ${FILE} == *"${TEST_CASE_FOLDER}"* ]]; then
|
elif [[ ${FILE} == *"${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 [[ ${FILE} == *".git"* ]]; then
|
elif [[ ${FILE} == *".git" || ${FILE} == *".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 [[ ${FILE} == *".venv"* ]]; then
|
elif [[ ${FILE} == *".venv"* ]]; then
|
||||||
|
|
Loading…
Reference in a new issue