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:
7
.github/unused-strings.py
vendored
7
.github/unused-strings.py
vendored
@@ -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__":
|
||||
|
Reference in New Issue
Block a user