Skip to content

Commit

Permalink
internal: fix TypeError in v8-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
geek committed Oct 4, 2016
1 parent e10516d commit d3f5d8a
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 d3f5d8a

Please sign in to comment.