feross / hostile

Simple, programmatic `/etc/hosts` manipulation (in node.js)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line comments cause entry to be ignored

shaine opened this issue · comments

Hello,

When running $ hostile list, valid entries which contain comments are ignored. For example,

127.0.0.1 github.com
127.0.0.1 ponyfoo.com #ponyfoo

will only notice github.com.