Merge pull request #14996 from Citadel-Station-13/silicons-patch-1

Automatically fails pull requests with broken line endings
This commit is contained in:
Lin
2021-08-10 22:57:21 -05:00
committed by GitHub
+4
View File
@@ -6,6 +6,10 @@ shopt -s globstar
st=0
if git grep -P "\r\n"; then
echo "ERROR: CRLF line endings detected. Please stop using the webeditor, and fix it using a desktop Git client."
st = 1
fi;
if grep -El '^\".+\" = \(.+\)' _maps/**/*.dmm; then
echo "ERROR: Non-TGM formatted map detected. Please convert it using Map Merger!"
st=1