Skip to content

Trim line with whitespace character#78

Closed
jekiapp wants to merge 1 commit intonpm:mainfrom
jekiapp:master
Closed

Trim line with whitespace character#78
jekiapp wants to merge 1 commit intonpm:mainfrom
jekiapp:master

Conversation

@jekiapp
Copy link
Copy Markdown

@jekiapp jekiapp commented Jun 7, 2018

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

@serbanghita
Copy link
Copy Markdown

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

@wraithgar
Copy link
Copy Markdown
Member

wraithgar commented Apr 11, 2023

Replaced by #201

@wraithgar wraithgar closed this Apr 11, 2023
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.

3 participants