shellcheck: do not check .git folder (#3267)

This commit is contained in:
Andreas Perhab 2023-04-17 10:42:35 +02:00 committed by GitHub
parent 95c812346d
commit 4b937fda5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,8 @@ function _shellcheck
# File paths for shellcheck: # File paths for shellcheck:
F_SH=$(find . -type f -iname '*.sh' \ F_SH=$(find . -type f -iname '*.sh' \
-not -path './test/bats/*' \ -not -path './test/bats/*' \
-not -path './test/test_helper/*' -not -path './test/test_helper/*' \
-not -path './.git/*'
) )
# shellcheck disable=SC2248 # shellcheck disable=SC2248
F_BIN=$(find 'target/bin' -type f -not -name '*.py') F_BIN=$(find 'target/bin' -type f -not -name '*.py')