Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stream: avoid function call where possible
Instead of assigning a boolean, move the function call that assigns a value to the boolean to the only place that boolean is checked. This avoids the function call in cases where it is not needed. Refs: nodejs#41488 (review)
- Loading branch information