Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Skip `.DS_Store` files when looking for extension directories (#10046)
Marshall Bowersaa76182ca7a5
diff --git a/crates/extension/src/extension_store.rs b/crates/extension/src/extension_store.rsindex 22a4923f685..904d3cd25d2 100644--- a/crates/extension/src/extension_store.rs+++ b/crates/extension/src/extension_store.rs@@ -1107,6 +1107,14 @@ impl ExtensionStore {let Ok(extension_dir) = extension_dir else {continue;};++ if extension_dir+ .file_name()+ .map_or(false, |file_name| file_name == ".DS_Store")+ {+ continue;+ }+Self::add_extension_to_index(fs.clone(), extension_dir, &mut index).await.log_err();