From 2b54b04cfc2832679210c9e9c0cbb7fc850a7ab0 Mon Sep 17 00:00:00 2001 From: mgbowman Date: Sat, 7 Dec 2024 16:05:53 +0100 Subject: [PATCH] fix: dynamic variable output in verbose mode (#1921) Co-authored-by: Matthew Bowman --- internal/compiler/compiler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/compiler/compiler.go b/internal/compiler/compiler.go index f6a9f1a5..420bed8e 100644 --- a/internal/compiler/compiler.go +++ b/internal/compiler/compiler.go @@ -170,7 +170,7 @@ func (c *Compiler) HandleDynamicVar(v ast.Var, dir string) (string, error) { result = strings.TrimSuffix(result, "\n") c.dynamicCache[*v.Sh] = result - c.Logger.VerboseErrf(logger.Magenta, "task: dynamic variable: %q result: %q\n", v.Sh, result) + c.Logger.VerboseErrf(logger.Magenta, "task: dynamic variable: %q result: %q\n", *v.Sh, result) return result, nil }