Interpolate with:
inputs (#511)
This commit is contained in:
@@ -343,8 +343,9 @@ func (sc *StepContext) vmInputs() func(*otto.Otto) {
|
||||
}
|
||||
|
||||
for k, v := range sc.Step.With {
|
||||
inputs[k] = v
|
||||
inputs[k] = sc.RunContext.NewExpressionEvaluator().Interpolate(v)
|
||||
}
|
||||
|
||||
return func(vm *otto.Otto) {
|
||||
_ = vm.Set("inputs", inputs)
|
||||
}
|
||||
|
Reference in New Issue
Block a user