diff options
author | Julien Dessaux | 2024-02-10 01:08:22 +0100 |
---|---|---|
committer | Julien Dessaux | 2024-03-07 00:58:30 +0100 |
commit | 325f6e2130fab68b7b15426fc15d8739deb009d7 (patch) | |
tree | 8ce0d48955437e7bc1f63dac40014d159f286cb8 | |
parent | chore(gonf): first draft of the gonf lib with commands, files, packages and v... (diff) | |
download | gonf-325f6e2130fab68b7b15426fc15d8739deb009d7.tar.gz gonf-325f6e2130fab68b7b15426fc15d8739deb009d7.tar.bz2 gonf-325f6e2130fab68b7b15426fc15d8739deb009d7.zip |
fix(variables): fixed variable return value on error
Diffstat (limited to '')
-rw-r--r-- | gonf/variables.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 "" } } |