Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Folder Ignoring Bleeding Over Onto Similar Paths #1210

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

pjkaufman
Copy link
Collaborator

Fixes #1208

There was an issue with similar paths getting caught up by the folder ignore logic. For example, ignoring the folder test would also ignore test-dir and test.+. In order to prevent this, we will add / to the normalized path to make sure that it is indeed matching the folder in the path itself.

Changes Made:

  • Added integration tests to make sure that we are checking that no issues are introduced for later releases
  • Added / to the end of a normalized path for the folder ignore logic

@pjkaufman pjkaufman added bug Something isn't working yaml YAML related issues or features labels Oct 27, 2024
@pjkaufman pjkaufman self-assigned this Oct 27, 2024
@pjkaufman pjkaufman merged commit 7c408f0 into platers:master Oct 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working yaml YAML related issues or features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: the Linter incorrectly ignores all paths that begin with ignored folder name
1 participant