ini icon indicating copy to clipboard operation
ini copied to clipboard

Trim line with whitespace character

Open jekiapp opened this issue 7 years ago • 1 comments

when we have line with only white-space character the decoded object would be '':true. So I saw line.trim() does the trick.

jekiapp avatar Jun 07 '18 09:06 jekiapp

👍 This is absolutely needed since a line with a whitespace character produces '': true, in JSON

serbanghita avatar Aug 19 '19 08:08 serbanghita

Replaced by https://github.com/npm/ini/pull/201

wraithgar avatar Apr 11 '23 21:04 wraithgar