Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skips a line and makes a line at the end?? #26

Closed
skybldev opened this issue Jul 27, 2018 · 1 comment
Closed

Skips a line and makes a line at the end?? #26

skybldev opened this issue Jul 27, 2018 · 1 comment

Comments

@skybldev
Copy link

This is some weird, weird stuff going on. I'm too tired to explain it right now, that's why I started this repo to show the bare basics of what the problem I'm facing is.

The expected outcome of running test.js is that in output.txt (it will create it when you run the script, don't worry) there will be 17,885 lines -- two more than the 17,883 of Log.txt, and the cause of that are two empty lines on :17150 and :17885. Those are obviously not supposed to be there.

Node version: 8.11.2
line-by-line version: 0.1.6

@hugoamaro
Copy link

I found this issue too, but by performing a different task. When reading a large file where each line is a JSON object, the parser complained with a parse error due to receiving an empty line.
We are still analyzing the issue but apparently the line wasn't skipped, nor reordered, it simply fired a empty online event in between lines.

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

No branches or pull requests

2 participants