stream: remove always-false condition check · nodejs/node@5e890be · GitHub
Skip to content

Commit 5e890be

Browse files
Trottdanielleadams
authored andcommitted
stream: remove always-false condition check
Remove comparison to null of variable guaranteed to be a boolean. PR-URL: #41488 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 3e4d977 commit 5e890be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/internal/streams/utils.js

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)