Skip to content

Conversation

@seekskyworld
Copy link

Issue

Summary

  • defer default/error message interpolation until the branch is selected
  • add tests ensuring unused defaults do not log warnings

Motivation

  • avoid false "variable is not set" warnings for ${A:+...} and ${A?…} when the nested branch is not evaluated

Validation

  • go test ./template

Signed-off-by: seekskyworld <djh1813553759@gmail.com>
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