Browse Source

Skip formatting .bat files in file_format.sh

These are supposed to have CRLF because Windows, so we'll just skip this file type in the script.

(cherry picked from commit 4cdc75915f1643c3cdaadccdfcaf12d62e01e7ab)
Aaron Franke 3 years ago
parent
commit
c58391c9d1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      misc/scripts/file_format.sh

+ 2 - 0
misc/scripts/file_format.sh

@@ -20,6 +20,8 @@ while IFS= read -rd '' f; do
         continue
     elif [[ "$f" == *"sln" ]]; then
         continue
+    elif [[ "$f" == *".bat" ]]; then
+        continue
     elif [[ "$f" == *"patch" ]]; then
         continue
     elif [[ "$f" == *"pot" ]]; then