Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix prod compile error

Nathan Sobo64ee1bb7a5c1
diff --git a/crates/project2/src/project2.rs b/crates/project2/src/project2.rs
index 1457bd41ccd..05434b93b4c 100644
--- a/crates/project2/src/project2.rs
+++ b/crates/project2/src/project2.rs
@@ -8649,7 +8649,7 @@ impl Project {
.get(&(worktree, default_prettier_dir.to_path_buf()))
.cloned();
let fs = Arc::clone(&self.fs);
- cx.spawn_on_main(move |this, mut cx| async move {
+ cx.spawn(move |this, mut cx| async move {
if let Some(previous_installation_process) = previous_installation_process {
previous_installation_process.await;
}