# node_runtime: Restrict the \`windows\` dependency to the Windows target \(\#12284\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ace371a0d8d300d8f8101af49505d1e47b0ac131

Requested commit: ace371a0d8d300d8f8101af49505d1e47b0ac131

Commit: ace371a0d8d300d8f8101af49505d1e47b0ac131

Tree: 6fae36e33f8ac8ca53c445bfeca4b78a3dc9cb69

Author: Marshall Bowers

Committer: GitHub

## Message

```
node_runtime: Restrict the `windows` dependency to the Windows target (#12284)

This PR fixes an issue where the `windows` dependency was being included
on non-Windows targets.

Resolves https://github.com/zed-industries/zed/issues/12282.

Release Notes:

- N/A
```

## Parents

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

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