Commit 16dec42
stream: check for null instead of falsy in loops
Check for null in while loops. This is preparing the code for
the no-cond-assign ESLint rule.
PR-URL: #41614
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 627f19a commit 16dec42Copy full SHA for 16dec42
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Filter options
- lib/internal/streams
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Collapse file
lib/internal/streams/buffer_list.js
Copy file name to clipboardExpand all lines: lib/internal/streams/buffer_list.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | 62 | |
63 | 63 | |
| ||
129 | 129 | |
130 | 130 | |
131 | 131 | |
132 | | - |
| 132 | + |
133 | 133 | |
134 | 134 | |
135 | 135 | |
| ||
163 | 163 | |
164 | 164 | |
165 | 165 | |
166 | | - |
| 166 | + |
167 | 167 | |
168 | 168 | |
169 | 169 | |
|
0 commit comments