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 dd50b91

Browse filesBrowse files
MaledongBethGriggs
authored andcommitted
lib: remove useless statement
There's no need to set 'false' to 'isAsync' because we've declared it before. PR-URL: #39983 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 6085280 commit dd50b91
Copy full SHA for dd50b91

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/streams/from.js‎

Copy file name to clipboardExpand all lines: lib/internal/streams/from.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function from(Readable, iterable, opts) {
2525
});
2626
}
2727

28-
let isAsync = false;
28+
let isAsync;
2929
if (iterable && iterable[SymbolAsyncIterator]) {
3030
isAsync = true;
3131
iterator = iterable[SymbolAsyncIterator]();

0 commit comments

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