@@ -81,17 +81,17 @@ public CreateCommand()
81
81
// write templates to outputLocation
82
82
if ( apiVersionSetTemplate != null )
83
83
{
84
- fileWriter . WriteJSONToFile ( apiVersionSetTemplate , String . Concat ( creatorConfig . outputLocation , @"/linked/" , creatorFileNames . apiVersionSet ) ) ;
84
+ fileWriter . WriteJSONToFile ( apiVersionSetTemplate , String . Concat ( creatorConfig . outputLocation , creatorFileNames . apiVersionSet ) ) ;
85
85
}
86
- fileWriter . WriteJSONToFile ( apiTemplate , String . Concat ( creatorConfig . outputLocation , @"/linked/" , creatorFileNames . api ) ) ;
87
- fileWriter . WriteJSONToFile ( masterTemplate , String . Concat ( creatorConfig . outputLocation , @"/linked/" , " master.template.json") ) ;
88
- fileWriter . WriteJSONToFile ( masterTemplateParameters , String . Concat ( creatorConfig . outputLocation , @"/linked/" , " master.parameters.json") ) ;
86
+ fileWriter . WriteJSONToFile ( apiTemplate , String . Concat ( creatorConfig . outputLocation , creatorFileNames . api ) ) ;
87
+ fileWriter . WriteJSONToFile ( masterTemplate , String . Concat ( creatorConfig . outputLocation , "/ master.template.json") ) ;
88
+ fileWriter . WriteJSONToFile ( masterTemplateParameters , String . Concat ( creatorConfig . outputLocation , "/ master.parameters.json") ) ;
89
89
} else
90
90
{
91
91
Template masterTemplate = masterTemplateCreator . CreateUnlinkedMasterTemplate ( apiVersionSetTemplate , apiTemplate , creatorFileNames ) ;
92
92
Template masterTemplateParameters = masterTemplateCreator . CreateMasterTemplateParameterValues ( creatorConfig ) ;
93
- fileWriter . WriteJSONToFile ( masterTemplate , String . Concat ( creatorConfig . outputLocation , @"/unlinked/" , " master.template.json") ) ;
94
- fileWriter . WriteJSONToFile ( masterTemplateParameters , String . Concat ( creatorConfig . outputLocation , @"/unlinked/" , " master.parameters.json") ) ;
93
+ fileWriter . WriteJSONToFile ( masterTemplate , String . Concat ( creatorConfig . outputLocation , "/ master.template.json") ) ;
94
+ fileWriter . WriteJSONToFile ( masterTemplateParameters , String . Concat ( creatorConfig . outputLocation , "/ master.parameters.json") ) ;
95
95
}
96
96
97
97
ColoredConsole . WriteLine ( "Templates written to output location" ) ;
0 commit comments