# zeta: Small refactoring in license detection check \- rfind instead of iterated ends_with \(\#37329\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c01f12b15d264d1836db276a6ab7c15b75c921de

Requested commit: c01f12b15d264d1836db276a6ab7c15b75c921de

Commit: c01f12b15d264d1836db276a6ab7c15b75c921de

Tree: 9098cf016064f42e25f6ef5607751af8550a2259

Author: Michael Sloan

Committer: GitHub

## Message

```
zeta: Small refactoring in license detection check - rfind instead of iterated ends_with (#37329)

Release Notes:

- N/A
```

## Parents

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

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