Browse Source

Disable autocrlf before checking modified files.

Mario Zechner 4 năm trước cách đây
mục cha
commit
44be568028
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .github/workflows/format-check.yml

+ 2 - 1
.github/workflows/format-check.yml

@@ -53,8 +53,9 @@ jobs:
         export CLANGFORMAT=`pwd`/clang/bin/clang-format
         export PATH="$PATH:/root/.dotnet/tools"      
         ./formatters/format.sh
+        git config --global core.autocrlf false          
         git diff > format-diff.txt
-        
+
     - name: Archive formatting result
       uses: actions/upload-artifact@v2
       with: