We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2607866 commit ce27e97Copy full SHA for ce27e97
variables.go
@@ -97,6 +97,10 @@ func init() {
97
98
// ReplaceVariables writes vars into initial string
99
func (e *Executor) ReplaceVariables(initial string, call Call) (string, error) {
100
+ if initial == "" {
101
+ return initial, nil
102
+ }
103
+
104
templ, err := template.New("").Funcs(templateFuncs).Parse(initial)
105
if err != nil {
106
return "", err
0 commit comments