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

[#4523] Fix error with env_var in hook #4524

Merged
merged 1 commit into from
Dec 20, 2021
Merged

[#4523] Fix error with env_var in hook #4524

merged 1 commit into from
Dec 20, 2021

Conversation

gshank
Copy link
Contributor

@gshank gshank commented Dec 20, 2021

resolves #4523

Description

Fix error "Encountered an error:'my_test://./dbt_project.yml'" when an env_var is used in a dbt_project hook. The new code to capture env_vars needs to skip invalid references to the dbt_project.yml file.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change

@gshank gshank force-pushed the 4523_hook_env_vars branch from 357745a to a1fa2c3 Compare December 20, 2021 18:16
@gshank gshank force-pushed the 4523_hook_env_vars branch from a1fa2c3 to bfb2b4c Compare December 20, 2021 19:05
@gshank gshank merged commit 8463af3 into main Dec 20, 2021
@gshank gshank deleted the 4523_hook_env_vars branch December 20, 2021 19:19
iknox-fa pushed a commit that referenced this pull request Feb 8, 2022
automatic commit by git-black, original commits:
  8463af3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Error when referencing env_vars in on-run-* hooks after upgrade to v1.0.0
2 participants