Skip to content

Fix ToRaw() method in hostlines#9

Merged
luthermonson merged 1 commit intogoodhosts:masterfrom
ShivalikRanaut:master
Jun 8, 2020
Merged

Fix ToRaw() method in hostlines#9
luthermonson merged 1 commit intogoodhosts:masterfrom
ShivalikRanaut:master

Conversation

@ShivalikRanaut
Copy link

Each call to Flush() rewrites the hosts file with the content .

Earlier ToRaw() method used in Flush() to format lines before writing was ignoring comments.
Added check to include comments

@luthermonson
Copy link
Contributor

@ShivalikRanaut thanks! Great catch

@luthermonson luthermonson merged commit e504ecf into goodhosts:master Jun 8, 2020
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