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 Myles Borins committed Nov 18, 2016
1 parent 347547a commit a3a184d
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 @@ -75,7 +75,7 @@ function readline() {
var 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 a3a184d

Please sign in to comment.