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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
geek authored and jasnell committed Oct 6, 2016
1 parent 7a94e2d commit 47d1588
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 47d1588

Please sign in to comment.