Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a3a184d

Browse filesBrowse files
geekMyles Borins
authored andcommitted
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>
1 parent 347547a commit a3a184d
Copy full SHA for a3a184d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/v8_prof_polyfill.js‎

Copy file name to clipboardExpand all lines: lib/internal/v8_prof_polyfill.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function readline() {
7575
var bytes = fs.readSync(fd, buf, 0, buf.length);
7676
line += dec.write(buf.slice(0, bytes));
7777
if (line.length === 0) {
78-
return false;
78+
return '';
7979
}
8080
}
8181
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.