Commit 37b33c1
committed
fix: don't treat EOF as a failure in getFileText
The function was failing on `!file.good()` which includes the `eof()`
case, so an empty file caused a failure. Test for "fail() but not just
because we hit EOF", instead.1 parent 9bbbefa commit 37b33c1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments