resolveStepInputWithOverride returns the input for one step. A step.Input that is not blank after TrimSpace replaces carriedInput. Otherwise carriedInput stays.
(step WorkflowStep, carriedInput string)
| 260 | // resolveStepInputWithOverride returns the input for one step. A step.Input that |
| 261 | // is not blank after TrimSpace replaces carriedInput. Otherwise carriedInput stays. |
| 262 | func resolveStepInputWithOverride(step WorkflowStep, carriedInput string) (chosenInput string, usedOverride bool) { |
| 263 | if override := strings.TrimSpace(step.Input); override != "" { |
| 264 | return override, true |
| 265 | } |
| 266 | return carriedInput, false |
| 267 | } |
| 268 | |
| 269 | func mergeVars(base, override map[string]string) map[string]string { |
| 270 | if len(base) == 0 && len(override) == 0 { |
no outgoing calls