Add a test
co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
cf2bbfc85a
commit
3a3c1c5a5b
4 changed files with 235 additions and 55 deletions
|
@ -3218,7 +3218,7 @@ impl Project {
|
|||
) -> Result<(), anyhow::Error> {
|
||||
let (worktree, relative_path) = self
|
||||
.find_local_worktree(&abs_path, cx)
|
||||
.ok_or_else(|| anyhow!("no worktree found for diagnostics"))?;
|
||||
.ok_or_else(|| anyhow!("no worktree found for diagnostics path {abs_path:?}"))?;
|
||||
|
||||
let project_path = ProjectPath {
|
||||
worktree_id: worktree.read(cx).id(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue