Skip to content

Empty variable references set referencer NIL #58

Description

@LeroyR

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions