Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rewriting files with no issues to suppress #632

Merged
merged 10 commits into from
Aug 27, 2024
Merged

Fix rewriting files with no issues to suppress #632

merged 10 commits into from
Aug 27, 2024

Conversation

gfs
Copy link
Contributor

@gfs gfs commented Aug 23, 2024

Fixes an issue where the Suppress command would rewrite a file essentially as is (but potentially change whitespace) even if all the detected issues in the file were filtered out by the rule filter.

Also fixes changing the newline characters when actually adding suppressions to a file (could occur when Environment.NewLine doesn't match the newline characters used in the extant file).

Adds new test cases for same.

Fix #631

Fix Readme Typo
Fix #626

Fixes an issue where the Suppress command would rewrite a file essentially as is (but potentially change whitespace) even if all the detected issues in the file were filtered out by the rule filter.
@gfs gfs merged commit fb82d09 into main Aug 27, 2024
16 checks passed
@gfs gfs deleted the gfs/#631 branch August 27, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants