From d545a02f60c198d101f28e2b7c3e831e0591511b Mon Sep 17 00:00:00 2001 From: Matthew Bowman Date: Sat, 16 Nov 2024 08:28:35 +0000 Subject: [PATCH] fix: dynamic variable output in verbose mode --- 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 f6a9f1a53..420bed8ea 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 }