# Fix ESLint not starting on Windows \(\#54945\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eced4eab77cf2c69d42102a2534bd7e2bafa8dfe

Requested commit: eced4eab77cf2c69d42102a2534bd7e2bafa8dfe

Commit: eced4eab77cf2c69d42102a2534bd7e2bafa8dfe

Tree: 0c9bbfc7d4a954a4774e7385cd248b23e3b70dfc

Author: Tristan Phease

Committer: GitHub

## Message

```
Fix ESLint not starting on Windows (#54945)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #54093 (at least the os error 123 in the comments of that
bug)/#54901 (although the diagnosis in that bug is totally wrong)
Used process monitor to work out what that issue was:
<img width="1573" height="94" alt="image"
src="https://github.com/user-attachments/assets/2f82ad1a-8532-465d-9dcd-ba0bd092e9e7"
/>
There's actually a '\n' after node_modules there so it's an invalid
directory. Add trim() to fix.
After adding that change locally, eslint loaded fine

Release Notes:

- Fixed bug where eslint didn't start on Windows
```

## Parents

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

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