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

Remove ignore check from new line checking #44

Merged

Conversation

cdesaintguilhem
Copy link
Contributor

Since needs_env_new_line() is only called when the line is not ignored, it does not need to check the ignoring flags. This short PR trims the code to achieve this.

Since `needs_env_new_line()` is only called when the line is not ignored, it does not need to check the ignoring flags.
@WGUNDERWOOD
Copy link
Owner

Thanks, good catch!

@WGUNDERWOOD WGUNDERWOOD merged commit 4553ff1 into WGUNDERWOOD:main Oct 21, 2024
9 checks passed
@cdesaintguilhem cdesaintguilhem deleted the tidy-new-line-checking branch October 21, 2024 09:20
@cdesaintguilhem cdesaintguilhem restored the tidy-new-line-checking branch October 24, 2024 10:48
@cdesaintguilhem cdesaintguilhem deleted the tidy-new-line-checking branch October 24, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants