forked from TNG/ArchUnit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure final newline in violation store files
For a file to be considered a text file, it needs to end with a newline character. Previously, ArchUnit did not add the final newline, which broke Git diff and other tools. Additionally, remove unnecessary list allocation: 1 when reading and 1 when writing a violation store file. Resolves TNG#1057 Signed-off-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters