Permalink
Browse files

lib: fix TypeError in v8-polyfill

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 MylesBorins committed Sep 30, 2016
1 parent 347547a commit a3a184d40a3ae6810037e1b0094f24f387176690
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/v8_prof_polyfill.js
@@ -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 '';
}
}
}

0 comments on commit a3a184d

Please sign in to comment.