| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1128b1c commit ff0069d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1000,7 +1000,7 @@ readable.on('readable', function() { | |||
| 1000 | 1000 | // There is some data to read now. | |
| 1001 | 1001 | let data; | |
| 1002 | 1002 | ||
| 1003 | - while (data = this.read()) { | ||
| 1003 | + while ((data = this.read()) !== null) { | ||
| 1004 | 1004 | console.log(data); | |
| 1005 | 1005 | } | |
| 1006 | 1006 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments