Commit e94ef2b
Fix: Correct inverted file size validation check
The negation operator was applied to f.size instead of the comparison,
causing the size check to always evaluate as truthy. Files exceeding
maxFileSize were never rejected.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fa04e54 commit e94ef2b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments