mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 01:22:13 +00:00
Enforces TRUE/FALSE for edge (#11495)
This commit is contained in:
@@ -83,6 +83,15 @@ else
|
||||
echo "PASS: to_world count matches" >> code_error.log
|
||||
fi
|
||||
|
||||
echo "Checking for edge = 0/1 uses:" >> code_error.log
|
||||
grep -r '\bedge\s*=\s*\d' **/*.dm >> code_error.log
|
||||
if [ $? -eq 0 ]; then
|
||||
ERROR_COUNT=$(($ERROR_COUNT+1))
|
||||
echo "FAIL: Found edge = 0/1 in code" >> code_error.log
|
||||
else
|
||||
echo "PASS: Did not find edge = 0/1 in code:" >> code_error.log
|
||||
fi
|
||||
|
||||
echo "Found $ERROR_COUNT Errors while performing code check"
|
||||
|
||||
if [ $ERROR_COUNT -ne 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user