This commit is contained in:
Ajeet D'Souza 2025-08-10 13:21:53 +05:30
parent 2c85c1bffa
commit 917627c464
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ impl<'a> Stream<'a> {
}
fn filter_by_base_dir(&self, path: &str) -> bool {
match path {
match &self.options.base_dir {
Some(base_dir) => Path::new(path).starts_with(base_dir),
None => true,
}