Fixed calling incorrect function in cmd/generate.go
This commit is contained in:
parent
5555d1c92b
commit
bc6eac3544
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue