mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
lib: fix TypeError in v8-polyfill
PR-URL: https://github.com/nodejs/node/pull/8863 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
4c194ee7bd
commit
6cd5588a67
1 file changed
+1
-1
@@ -76,7 +76,7 @@ function readline() {
|
||||
const bytes = fs.readSync(fd, buf, 0, buf.length);
|
||||
line += dec.write(buf.slice(0, bytes));
|
||||
if (line.length === 0) {
|
||||
return false;
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user