Asana / locheck

Validate iOS, Android, and Mac localizations. Find errors in .strings, .stringsdict, and strings.xml files.
MIT License
96 stars 10 forks source link

--treat-warnings-as-errors #28

Closed stevelandeyasana closed 2 years ago

stevelandeyasana commented 2 years ago

Fix #26. Adds a --treat-warnings-as-errors flag to every command that causes warnings to result in a nonzero exit code even without errors.

I skipped unit tests because this code is very obvious. I did make test files by hand and verify the behavior.

stevelandeyasana commented 2 years ago

Linters will pass after #27 is merged in.