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 argument order when printing prettier debug info (#8826)

Thorsten Ball6121c286b780
diff --git a/crates/prettier/src/prettier.rs b/crates/prettier/src/prettier.rs
index 2dff45de024..c9e94cdb245 100644
--- a/crates/prettier/src/prettier.rs
+++ b/crates/prettier/src/prettier.rs
@@ -335,9 +335,9 @@ impl Prettier {
.collect();
log::debug!(
"Formatting file {:?} with prettier, plugins :{:?}, options: {:?}",
+ buffer.file().map(|f| f.full_path(cx)),
plugins,
prettier_options,
- buffer.file().map(|f| f.full_path(cx))
);
anyhow::Ok(FormatParams {