Interpolate with: inputs (#511)

This commit is contained in:
Cat™ authored and GitHub committed 2021-01-30 17:43:11 -08:00
1 parent 22d56c3517
commit 8339f4b404
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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)
}