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 }