From 6121c286b78001ea4428653386e2c6e505563296 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Mon, 4 Mar 2024 15:37:50 +0100 Subject: [PATCH] Fix argument order when printing prettier debug info (#8826) Release Notes: - N/A --- crates/prettier/src/prettier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/prettier/src/prettier.rs b/crates/prettier/src/prettier.rs index 2dff45de0240fd3226cfbc3bd6457f77bf1f8cd9..c9e94cdb245c50000a3d54359820dc92f7793a28 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 {