-
Notifications
You must be signed in to change notification settings - Fork 314
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
[Unexpected Behavior] Comments Not Removed on Lines with "auto-ignore" #93
Comments
Hi @merajhashemi! |
Hi @jponttuset! |
I made a small suggestion in the PR not to over-tighten the matching :) |
While fixing issue #91, I discovered that comments in lines containing the word
auto-ignore
are not being removed as expected. This behavior is not documented in either the README or the help message, which may lead to unexpected outcomes for users.I suppose there is a specific reason for this behavior as it is also being tested 🤔
Example
Input:
Foo auto-ignore Bar ... % Top Secret Comment
Output:
Foo auto-ignore Bar ... % Top Secret Comment
Expected Output:
Foo auto-ignore Bar ... %
The text was updated successfully, but these errors were encountered: