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.

Set working directory for `project` to project path (#8837)

Thorsten Ball9c6a0d98eda2
diff --git a/crates/prettier/src/prettier.rs b/crates/prettier/src/prettier.rs
index c9e94cdb245..676ed6d1aca 100644
--- a/crates/prettier/src/prettier.rs
+++ b/crates/prettier/src/prettier.rs
@@ -197,7 +197,7 @@ impl Prettier {
arguments: vec![prettier_server.into(), prettier_dir.as_path().into()],
env: None,
},
- Path::new("/"),
+ &prettier_dir,
None,
cx.clone(),
)