fix(variables): fixed variable return value on error
This commit is contained in:
parent
ceac85dbc1
commit
325f6e2130
1 changed files with 1 additions and 1 deletions
|
@ -52,6 +52,6 @@ func getVariable(name string) string {
|
||||||
return v.value.String()
|
return v.value.String()
|
||||||
} else {
|
} else {
|
||||||
slog.Error("undefined variable or default", "name", name)
|
slog.Error("undefined variable or default", "name", name)
|
||||||
return name
|
return ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue