node-readlines icon indicating copy to clipboard operation
node-readlines copied to clipboard

Allow using 0 as file descriptor

Open janmarthedal opened this issue 4 years ago • 1 comments

The standard unix file descriptor for stdin is 0 (also available as process.stdin.fd), but this is not possible to use since 0 is a falsy value. This commit fixes this.

janmarthedal avatar Dec 03 '20 13:12 janmarthedal

@janmarthedal Thanks for the contribution, I'll test it and add it in the next release if everything works as expected.

nacholibre avatar Dec 13 '20 19:12 nacholibre