mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
lib: remove useless statement
There's no need to set 'false' to 'isAsync' because we've declared it before. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
@@ -25,7 +25,7 @@ function from(Readable, iterable, opts) {
|
||||
});
|
||||
}
|
||||
|
||||
let isAsync = false;
|
||||
let isAsync;
|
||||
if (iterable && iterable[SymbolAsyncIterator]) {
|
||||
isAsync = true;
|
||||
iterator = iterable[SymbolAsyncIterator]();
|
||||
|
||||
Reference in New Issue
Block a user