From 5ca4d17d4288e0878e6b53260f6859e85235112e Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Tue, 3 Dec 2024 12:51:13 -0700 Subject: [PATCH] fix: added missing output maps --- cmd/generate.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/generate.go b/cmd/generate.go index 634a775..c1d02af 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -85,6 +85,7 @@ var generateCmd = &cobra.Command{ } // if we have more than one target and output is set, create configs in directory + outputMap := generator.ConvertContentsToString(outputBytes) writeOutput(outputBytes, len(targets), len(outputMap)) } }, @@ -106,6 +107,7 @@ func RunTargets(conf *config.Config, args []string, targets ...string) { } // if we have more than one target and output is set, create configs in directory + outputMap := generator.ConvertContentsToString(outputBytes) writeOutput(outputBytes, len(targets), len(outputMap)) // remove any targets that are the same as current to prevent infinite loop