File tree Expand file tree Collapse file tree
packages/cli/lib/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,16 +155,16 @@ const command: NewCommandType = {
155155 cd14 : theme
156156 } ) ;
157157
158- process . chdir ( argv . name ) ;
159- await configure ( argv . agents as ( AIAgentTarget | "none" ) [ ] ?? [ ] , argv . assistants as ( AiCodingAssistant | "none" ) [ ] ?? [ ] ) ;
160- process . chdir ( ".." ) ;
161-
162158 const config = projTemplate . generateConfig ( argv . name , theme ) ;
163159 for ( const templatePath of projTemplate . templatePaths ) {
164160 await Util . processTemplates ( templatePath , path . join ( process . cwd ( ) , argv . name ) ,
165161 config , projTemplate . delimiters , false ) ;
166162 }
167163
164+ process . chdir ( argv . name ) ;
165+ await configure ( argv . agents as ( AIAgentTarget | "none" ) [ ] , argv . assistants as ( AiCodingAssistant | "none" ) [ ] ) ;
166+ process . chdir ( ".." ) ;
167+
168168 Util . log ( Util . greenCheck ( ) + " Project Created" ) ;
169169
170170 if ( ! argv . skipInstall ) {
You can’t perform that action at this time.
0 commit comments