Replace remaining usages of glob crate with globset

This commit is contained in:
Max Brunsfeld 2023-05-19 09:36:46 -07:00
parent 459cc9c959
commit 847d1e73a3
7 changed files with 8 additions and 14 deletions

View file

@ -335,10 +335,9 @@ async fn configure_disabled_globs(
.get::<AllLanguageSettings>(None)
.copilot
.disabled_globs
.clone()
.iter()
.map(|glob| glob.as_str().to_string())
.collect::<Vec<_>>()
.map(|glob| glob.glob().to_string())
.collect()
});
if let Some(path_to_disable) = &path_to_disable {