Skip to content

Commit bdfff50

Browse files
author
yggverse
committed
fix preload regex condition (None to skip any data preload)
1 parent 6b5b477 commit bdfff50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/crawler/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ async fn main() -> Result<()> {
195195
);
196196
continue;
197197
}
198-
if preload.regex.as_ref().is_some_and(|r| {
198+
if preload.regex.as_ref().is_none_or(|r| {
199199
!r.is_match(&info.relative_filename.to_string_lossy())
200200
}) {
201201
debug!("regex filter, skip file `{id}` for `{h}` at `{}`",

0 commit comments

Comments
 (0)