Commit bb64cb7
committed
fix(libuv): duplicated prev_line_content when stream EOF
When the stream ends (signified by `data` being `nil`), the function
checked if there was any `prev_line_content` leftover.
prev_line_content isn't nullified and will be used again in split_lines:
```
prev_line_content .. EOL .. prev_line_content
```
Fix #2636.1 parent bde73a6 commit bb64cb7
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| |||
0 commit comments