From 325f6e2130fab68b7b15426fc15d8739deb009d7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 10 Feb 2024 01:08:22 +0100 Subject: fix(variables): fixed variable return value on error --- gonf/variables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gonf/variables.go b/gonf/variables.go index 3c365ae..e6c845d 100644 --- a/gonf/variables.go +++ b/gonf/variables.go @@ -52,6 +52,6 @@ func getVariable(name string) string { return v.value.String() } else { slog.Error("undefined variable or default", "name", name) - return name + return "" } } -- cgit v1.2.3