# Do not panic when looking for prettier \(\#3182\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6aca2289eb0d25537b73e88be3fb0f395bda6536

Requested commit: 6aca2289eb0d25537b73e88be3fb0f395bda6536

Commit: 6aca2289eb0d25537b73e88be3fb0f395bda6536

Tree: 3ba84d68555ee0a3fede612a7dc901527a0643c4

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Do not panic when looking for prettier (#3182)

Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1698655595438009

Instead of checking FS, derive the prettier path needed and let prettier
invocation fail in logs instead.
```

## Parents

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

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

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