1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

Add: workflow and script for checking missing mode enforcements

This commit is contained in:
Rubidium
2023-03-02 22:02:37 +01:00
committed by rubidium42
parent a79f97c022
commit 2fffde0891
3 changed files with 96 additions and 4 deletions

View File

@@ -210,11 +210,10 @@ def main():
errors.append(f"ERROR: {string} is (possibly) no longer needed.")
if errors:
for error in errors:
print(error)
print("\n".join(errors))
sys.exit(1)
else:
print("OK")
print("OK")
if __name__ == "__main__":