From 96bbb5cdea41d537324294bf025cfc6cca7ea51e Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Mon, 30 Oct 2023 11:14:00 +0200 Subject: [PATCH] Properly log prettier paths --- crates/prettier/src/prettier.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/prettier/src/prettier.rs b/crates/prettier/src/prettier.rs index 79fef40908..53e3101a3b 100644 --- a/crates/prettier/src/prettier.rs +++ b/crates/prettier/src/prettier.rs @@ -93,7 +93,7 @@ impl Prettier { ) })?; (worktree_root_data.unwrap_or_else(|| { - panic!("cannot query prettier for non existing worktree root at {worktree_root_data:?}") + panic!("cannot query prettier for non existing worktree root at {worktree_root:?}") }), None) } else { let full_starting_path = worktree_root.join(&starting_path.starting_path); @@ -106,7 +106,7 @@ impl Prettier { })?; ( worktree_root_data.unwrap_or_else(|| { - panic!("cannot query prettier for non existing worktree root at {worktree_root_data:?}") + panic!("cannot query prettier for non existing worktree root at {worktree_root:?}") }), start_path_data, )