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
Project
vgrep
Description
In
commands.rs, settingmax_file_sizeto 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
Screenshots
No response
Steps to Reproduce
vgrep config set max-file-size 0vgrep indexExpected 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