# Package.Fetch: fix inclusions not working for directories · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/2ca7cc46c41dc5fe91fe385df4f3330634bd88f3)

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

Visibility: public

Requested revision: 2ca7cc46c41dc5fe91fe385df4f3330634bd88f3

Requested commit: 2ca7cc46c41dc5fe91fe385df4f3330634bd88f3

Commit: 2ca7cc46c41dc5fe91fe385df4f3330634bd88f3

Tree: db1ae26cadd206ab6af9d09d8b3896a4f06fa76c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Package.Fetch: fix inclusions not working for directories

Oops, the loop was checking the wrong variable! Added a unit test.

```

## Parents

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

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