Skip to content

Commit d3f5d8a

Browse files
committed
internal: fix TypeError in v8-polyfill
1 parent e10516d commit d3f5d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/v8_prof_polyfill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function readline() {
7676
const bytes = fs.readSync(fd, buf, 0, buf.length);
7777
line += dec.write(buf.slice(0, bytes));
7878
if (line.length === 0) {
79-
return false;
79+
return '';
8080
}
8181
}
8282
}

0 commit comments

Comments
 (0)