mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 03:27:02 -07:00
fix: added missing output maps
This commit is contained in:
parent
69aac3c929
commit
5ca4d17d42
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ var generateCmd = &cobra.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we have more than one target and output is set, create configs in directory
|
// 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))
|
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
|
// 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))
|
writeOutput(outputBytes, len(targets), len(outputMap))
|
||||||
|
|
||||||
// remove any targets that are the same as current to prevent infinite loop
|
// remove any targets that are the same as current to prevent infinite loop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue