Skip to content

Bug: Comment detection on host line is missing #6

@Mte90

Description

@Mte90

If a line include a comment and we are adding to the same ip new domain they are added after the comment example:

192.168.50.4 vvv # VAGRANT: db53e7b49dc0f3aa85fa47b3d00a40e6 (default) / e605922e-40d0-4629-9db0-8bf0ce7d3670 vvv.test auto.test tideways.vvv.test xhgui.vvv.test

If I do

cli r vvv

The line is:

192.168.50.4 # VAGRANT: db53e7b49dc0f3aa85fa47b3d00a40e6 (default) / e605922e-40d0-4629-9db0-8bf0ce7d3670 vvv.test auto.test tideways.vvv.test xhgui.vvv.test

So basically if we are adding or deleting something this changes will happens anyway with the comment but new stuff will be appended after the comment.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions