Fixed calling incorrect function in cmd/generate.go

This commit is contained in:
David Allen 2024-07-28 15:26:34 -06:00
parent 5555d1c92b
commit bc6eac3544
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -81,7 +81,7 @@ func RunTargets(config *configurator.Config, args []string, targets ...string) {
Target: target,
Verbose: verbose,
}
outputBytes, err := generator.Generate(config, params)
outputBytes, err := generator.GenerateWithTarget(config, params)
if err != nil {
fmt.Printf("failed to generate config: %v\n", err)
os.Exit(1)