# Support \`find_project_path\` being given absolute paths \(\#30283\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/77945fc905fc59ccbcbc71aec630f2bb0e44451f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 77945fc905fc59ccbcbc71aec630f2bb0e44451f

Requested commit: 77945fc905fc59ccbcbc71aec630f2bb0e44451f

Commit: 77945fc905fc59ccbcbc71aec630f2bb0e44451f

Tree: ffb739e22863dd00517ebb3280a484fee5bf862f

Author: Richard Feldman

Committer: GitHub

## Message

```
Support `find_project_path` being given absolute paths (#30283)

Sometimes models return absolute paths even though we ask them not to
(including sometimes returning `/dev/null`). Currently we assume we're
always given a relative path, which leads to a panic in debug builds.
Now we just support being given absolute paths.

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
```

## Parents

- [6827bf114a4fdab89a2d64e89e813a6136213fe7](https://git.cafe/gitcafe/zed/commit/6827bf114a4fdab89a2d64e89e813a6136213fe7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/77945fc905fc59ccbcbc71aec630f2bb0e44451f?format=markdown)
