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

Empty variable references set referencer NIL #58

Open
LeroyR opened this issue Oct 27, 2021 · 0 comments
Open

Empty variable references set referencer NIL #58

LeroyR opened this issue Oct 27, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LeroyR
Copy link

LeroyR commented Oct 27, 2021

Which generator version are you using?

build-generator 0.34.16
asdf            3.3.1
SBCL            2.1.8

What did you do?

  1. Setting a variable to empty Strings "" or " " makes variables that reference this NIL

    • projects/broken.project:

      foo: 1
      bar: 2
      baz: |
        # foo 
        ${foo}
        # bar
        ${bar}
    • distributions/broken.distribution:

      - name: broken
        version: master
        parameters:
          foo: ""
        

Same with empty string e.g. " "

Which behavior did you expect?

baz: |
# foo 
    
# bar
2

What happened instead?

baz: NIL
@LeroyR LeroyR added the bug Something isn't working label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants