Closed MrDiggles2 closed 1 year ago
Fixes issue from https://github.com/lucagrulla/node-tail/pull/162
I didn't include a base case in the new nLines logic causing an infinite loop on empty files. This PR fixes this and adds a test case.
nLines
Apologies for this! I should have tested for this earlier.
Fixes issue from https://github.com/lucagrulla/node-tail/pull/162
I didn't include a base case in the new
nLines
logic causing an infinite loop on empty files. This PR fixes this and adds a test case.Apologies for this! I should have tested for this earlier.