Skip to content

Commit a3a184d

Browse files
geekMyles Borins
authored and
Myles Borins
committed
lib: fix TypeError in v8-polyfill
PR-URL: #8863 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 347547a commit a3a184d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/v8_prof_polyfill.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function readline() {
7575
var bytes = fs.readSync(fd, buf, 0, buf.length);
7676
line += dec.write(buf.slice(0, bytes));
7777
if (line.length === 0) {
78-
return false;
78+
return '';
7979
}
8080
}
8181
}

0 commit comments

Comments
 (0)