# Detect prettier in npm workspaces correctly \(\#3219\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a9ab413c5ace713a9dbf7d70d1356659c7b52ea5

Requested commit: a9ab413c5ace713a9dbf7d70d1356659c7b52ea5

Commit: a9ab413c5ace713a9dbf7d70d1356659c7b52ea5

Tree: f8d77f4b08c6bd6e4069f3c90ac4d45b52888cae

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Detect prettier in npm workspaces correctly (#3219)

Deals with https://github.com/zed-industries/community/issues/2016

Also refactored project code to spawn less default prettiers.

Release Notes:

- Fixed prettier not working in npm workspaces
```

## Parents

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

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

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