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 FileNotFoundError with external packages #211

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

baudsimVD
Copy link
Contributor

In _is_file_match(), the condition model_or_dir.samefile(yaml_path) raises an issue FileNotFoundError with yamlPath.

This is a simple check to ensure the yaml file exists.

How to reproduce :
Have seeds from external packages such as dbt_project_evaluator_exceptions.csv.
Patch path will be dbt_project_evaluator://seeds/seeds.yml even though it does not exist in the project.

@z3z1ma
Copy link
Owner

z3z1ma commented Feb 3, 2025

Thanks for this! LGTM

@z3z1ma z3z1ma merged commit e182124 into z3z1ma:main Feb 3, 2025
7 checks passed
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 this pull request may close these issues.

2 participants