Skip to content

Commit

Permalink
lib: fix TypeError in v8-polyfill
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
geek authored and jasnell committed Oct 6, 2016
1 parent 14ddd1a commit aa5664f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/v8_prof_polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
}
}
}
Expand Down

0 comments on commit aa5664f

Please sign in to comment.