Tweak debug log message when ignoring fs events

This commit is contained in:
Max Brunsfeld 2023-06-29 12:01:59 -07:00
parent 8609ccdcf7
commit 922d8f30d6

View File

@ -3172,8 +3172,8 @@ impl BackgroundScanner {
.map_or(false, |entry| entry.kind == EntryKind::Dir)
});
if !parent_dir_is_loaded {
log::debug!("ignoring event {relative_path:?} within unloaded directory");
unloaded_relative_paths.push(relative_path);
log::debug!("ignoring event {abs_path:?} within unloaded directory");
return false;
}