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

pattern can traverse the entire filesystem #485

Closed
shepmaster opened this issue Nov 13, 2022 · 0 comments · Fixed by #486
Closed

pattern can traverse the entire filesystem #485

shepmaster opened this issue Nov 13, 2022 · 0 comments · Fixed by #486

Comments

@shepmaster
Copy link

shepmaster commented Nov 13, 2022

I included a leading / in my pattern field:

[workspace.metadata.dylint]
libraries = [
    { git = "https://github.com/shepmaster/snafu-lints", pattern = "/*/*" },
]

This attempted to access my actual root directory and files within. I'd have expected the file walking to be constrained to the git checkout.

smoelius added a commit to smoelius/dylint that referenced this issue Nov 13, 2022
@smoelius smoelius mentioned this issue Nov 13, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 13, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 14, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 15, 2022
smoelius added a commit to smoelius/dylint that referenced this issue Nov 15, 2022
smoelius added a commit that referenced this issue Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant