-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Project
vgrep
Description
In commands.rs, setting max_file_size to 0 via config is accepted without validation. This would cause all files to be skipped during indexing with no warning.
Error Message
Debug Logs
System Information
OS: Any
Rust Version: 1.75+Screenshots
No response
Steps to Reproduce
- Run
vgrep config set max-file-size 0 - Run
vgrep index - Observe no files being indexed
Expected Behavior
Reject zero or warn that no files will be indexed
Actual Behavior
Silently accepts the value, causing all files to be skipped
Additional Context
No response