浏览代码

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 年之前
父节点
当前提交
f6090226dc
共有 1 个文件被更改,包括 2 次插入0 次删除
  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