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

vars: do not error if variable not present in pack #315

Merged
merged 4 commits into from
Apr 4, 2023

Conversation

pkazmierczak
Copy link
Contributor

@pkazmierczak pkazmierczak commented Apr 3, 2023

Description

If there are variables in the var-file that aren't present in the pack, we should issue a warning, not an error. This is opt-in behavior, enabled by passing a --ignore-missing-vars flag.

Resolves #302
Relates to #308

Reminders

  • Add CHANGELOG.md entry

@pkazmierczak pkazmierczak marked this pull request as ready for review April 3, 2023 17:13
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
@pkazmierczak pkazmierczak merged commit 8b522d1 into main Apr 4, 2023
@pkazmierczak pkazmierczak deleted the f-do-not-err-if-var-not-defined branch April 4, 2023 15:09
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.

Do not error when passing additional variables
2 participants