From a2bd7eabe5632a78e13fa1727ba2426893f413fc Mon Sep 17 00:00:00 2001 From: Tyler Hale Date: Sun, 16 Jan 2022 20:34:31 -0500 Subject: [PATCH] fixes #269 --- pkg/results/construction_results.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/results/construction_results.go b/pkg/results/construction_results.go index 32915338..4761a538 100644 --- a/pkg/results/construction_results.go +++ b/pkg/results/construction_results.go @@ -313,7 +313,9 @@ func ExitConstruction( ) if results != nil { results.Print() - results.Output(config.Construction.ResultsOutputFile) + if config.Construction != nil { + results.Output(config.Construction.ResultsOutputFile) + } } return err