Fix argument order when printing prettier debug info (#8826)

Thorsten Ball created

Release Notes:


- N/A

Change summary

crates/prettier/src/prettier.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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 {