Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

fix: Ensure gitignore-style directory ignores #74

Merged
merged 1 commit into from
Dec 14, 2022
Merged

Conversation

nzakas
Copy link
Contributor

@nzakas nzakas commented Dec 12, 2022

Prior to this fix, isDirectoryIgnored() was incorrectly allowing the re-inclusion of previously ignored patterns even if the parent directory was already ignored.

This fix ensures that a child directory of an ignored parent cannot be unignored.

@nzakas nzakas merged commit 8e17f4a into main Dec 14, 2022
@nzakas nzakas deleted the ignore-patterns branch December 14, 2022 19:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant