# edit prediction: Fix license detection error logging \+ check for different spellings \(\#24281\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 17a749533247b6e2d1078ac8ab94da608791afbe

Requested commit: 17a749533247b6e2d1078ac8ab94da608791afbe

Commit: 17a749533247b6e2d1078ac8ab94da608791afbe

Tree: 1ba7876b273fd307c203d1bb50e8866d05ca7556

Author: Danilo Leal

Committer: GitHub

## Message

```
edit prediction: Fix license detection error logging + check for different spellings (#24281)

Follow-up to https://github.com/zed-industries/zed/pull/24278

This PR ensures we're checking if there's a license-type file in both US
& UK English spelling, and fixes the error logging again, treating for
when the worktree contains just a single file or multiple.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com>
```

## Parents

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

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