# extension_ci: Fix formatting check failing on grammar queries \(\#56788\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b058edab1808e1ff3eeef6585a6f81e2d0f71f2c

Requested commit: b058edab1808e1ff3eeef6585a6f81e2d0f71f2c

Commit: b058edab1808e1ff3eeef6585a6f81e2d0f71f2c

Tree: fc6746a0554804c4ab3ca2d9f706ec75d3b81ac0

Author: Finn Evers

Committer: GitHub

## Message

```
extension_ci: Fix formatting check failing on grammar queries (#56788)

Since we download the grammars into the `./grammars` directory, the
formatting check can fail on unformatted query files that are present in
the grammars directory, as observed in
https://github.com/zed-extensions/log/pull/18

Thus, this PR changes the check to be more specific to just the queries
in the `languages` directory.

Release Notes:

- N/A
```

## Parents

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

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