-
Notifications
You must be signed in to change notification settings - Fork 3
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
Issue: Panic on line deletion #21
Comments
Actually this is fixed but while removing by hostnames we're matching every possible hostname (it seams) so the file is cleaned up except for comments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
As mentioned here there's a panic on line deletion.
Panic occurs if there's no newline at the end of the file and you try to delete line by hostname.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As per deletion-by-ip, deletion should occur even without empty lines at the end of the file
The text was updated successfully, but these errors were encountered: