Commit f19cf58
fix: do not fail on empty input with --fail
io.ReadFull returns plain io.EOF when zero bytes are read, which
the guard treated as fatal, so 0-byte files or stdin printed
"chroma: EOF" and exited 1 — breaking the .lessfilter use case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 59a84fd commit f19cf58
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments