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

Allow blank strings to be used for env var property substitutions #4672

Merged
merged 1 commit into from Apr 24, 2024

Conversation

knolleary
Copy link
Member

Fixes #4663

If an env var is a blank string (``FOO=""), and is used in a property substitution (${FOO}`), then we were not replacing it with a blank string, but leaving the `${FOO}` value in place.

This was a slightly intentional behaviour when we first introduced true env var support, but as they have expanded to be more widely used with subflow properties etc, then it makes sense to allow inserting a blank string if the env var is explicitly set to a blank string (rather than undefined).

Given this might be a change in behaviour for some obscure edge cases, I'm putting this in 4.0, rather than 3.x.

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.

Empty subflow property used in config for node in subflow replaced with ${<name>} instead of empty string
1 participant