From 872e950f1eade3e7ff56d513b7e3b28f4d814834 Mon Sep 17 00:00:00 2001 From: Sarah French Date: Fri, 10 Jan 2025 18:48:31 +0000 Subject: [PATCH] Fix nil pointer bug --- internal/command/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/test.go b/internal/command/test.go index d0686bc81cb3..889442dc9e93 100644 --- a/internal/command/test.go +++ b/internal/command/test.go @@ -121,7 +121,7 @@ func (c *TestCommand) Run(rawArgs []string) int { return 1 } - var junit *artifact.TestJUnitXMLFile + var junit artifact.Artifact if args.JUnitXMLFile != "" { // JUnit XML output is currently experimental, so that we can gather // feedback on exactly how we should map the test results to this