Daniel Gibbs 8 tahun lalu
induk
melakukan
53b177df3b
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      tests/tests_shellcheck.sh

+ 2 - 2
tests/tests_shellcheck.sh

@@ -7,5 +7,5 @@
 # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
 # Website: https://gameservermanagers.com
 
-find . -type f -name "shunit2-2.1.6" -prune -name "*.sh" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
-find . -type f -name "shunit2-2.1.6" -prune -name "*.cfg" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
+find . -type d \( ! -name "shunit2-2.1.6" \) -type f -prune -name "*.sh" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
+find . -type d \( ! -name "shunit2-2.1.6" \) -type f -prune -name "*.cfg" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;