8000 Fix ToRaw() method in hostlines by ShivalikRanaut · Pull Request #9 · goodhosts/hostsfile · GitHub
[go: up one dir, main page]

Skip to content

Fix ToRaw() method in hostlines - #9

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

luthermonson merged 1 commit into
goodhosts:masterfrom
ShivalikRanaut:master

Conversation

@ShivalikRanaut
Copy link
Copy Markdown

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
Copy Markdown
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

0