Replace remaining usages of glob crate with globset
This commit is contained in:
parent
459cc9c959
commit
847d1e73a3
7 changed files with 8 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue