Usage Information
10.3.49
Description
Contrary to the information stated in the documentation for Parameters, the code is still looking for NUKE_.
Problem Code:
|
GetTrimmedName(x.Key).EqualsOrdinalIgnoreCase($"NUKE{trimmedVariableName}")).ToList(); |
I can create a PR later to address this, but I am unsure if it should also remain compatible with NUKE_. LMK what you think.
Reproduction Steps
- Create Build Project
- Add a string parameter.
- Assert in target when parameter is null.
export FALLOUT_MY_PARAMETER_NAME="hello"
- Run build, reach assertion.
export NUKE_MY_PARAMETER_NAME="hello"
- Run build, no assertion.
Expected Behavior
Environment variables prepended with FALLOUT_ should be used for parameters as per documentation.
Actual Behavior
See Repro.
Regression?
Kind of. Technically?
Known Workarounds
No response
Could you help with a pull-request?
Yes
Usage Information
10.3.49
Description
Contrary to the information stated in the documentation for Parameters, the code is still looking for
NUKE_.Problem Code:
Fallout/src/Fallout.Build/Execution/ParameterService.cs
Line 192 in f57634c
I can create a PR later to address this, but I am unsure if it should also remain compatible with
NUKE_. LMK what you think.Reproduction Steps
export FALLOUT_MY_PARAMETER_NAME="hello"export NUKE_MY_PARAMETER_NAME="hello"Expected Behavior
Environment variables prepended with
FALLOUT_should be used for parameters as per documentation.Actual Behavior
See Repro.
Regression?
Kind of. Technically?
Known Workarounds
No response
Could you help with a pull-request?
Yes