magiconair / properties

Java properties scanner for Go
BSD 2-Clause "Simplified" License
323 stars 77 forks source link

Do not fail on blank lines with whitespace only #23

Closed homiak closed 7 years ago

homiak commented 7 years ago

It's pretty easy to leave a single tab on a line after editing a large properties file. I think the parser should simply ignore such a line instead of failing.

magiconair commented 7 years ago

Sorry for the late reply. This fell through the vacation crack.

The parser does indeed not ignore a blank line with only whitespace.

magiconair commented 7 years ago

Thanks for reporting this @homiak

homiak commented 7 years ago

Thank you! @magiconair