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(stdlib): tm_ternary() does not track expression scoped vars. #1276

Merged
merged 2 commits into from
Dec 6, 2023

Commits on Dec 5, 2023

  1. fix(stdlib): tm_ternary() does not track expression scoped vars.

    Some variables are scoped by their expression declaration, that's the
    case for `[for ...]`, `{for ...}` and `tm_dynamic`.
    In this case, the `tm_ternary()` implementation must use the provided
    closure evaluator variables instead of the outer Terramate evaluator.
    
    Signed-off-by: Tiago Natel <[email protected]>
    i4ki committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    19ba218 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Update stdlib/ternary.go

    Co-authored-by: Sebastian <[email protected]>
    i4ki and snakster authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    dd76824 View commit details
    Browse the repository at this point in the history