mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-24 15:42:53 +00:00
Properly log prettier paths
This commit is contained in:
parent
10b581f250
commit
f16ff79ff8
2 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
)
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue