Add default scan excluded files settings
This commit is contained in:
parent
c52fe2f536
commit
26f7e66b49
4 changed files with 15 additions and 3 deletions
|
@ -650,7 +650,7 @@ fn start_background_scan_tasks(
|
|||
}
|
||||
|
||||
fn scan_exclude_files(project_settings: &ProjectSettings) -> Vec<PathMatcher> {
|
||||
project_settings.scan_exclude_files.iter()
|
||||
project_settings.scan_exclude_files.as_deref().unwrap_or(&[]).iter()
|
||||
.sorted()
|
||||
.filter_map(|pattern| {
|
||||
PathMatcher::new(pattern)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue