Skip to content

Commit 6f579d8

Browse files
committed
fix: git init into correct dir
1 parent 6712302 commit 6f579d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ async function main() {
209209
updateProjectName(targetPath, name);
210210

211211
if (args.values.git) {
212+
execSync(`cd ${targetDir}`);
212213
execSync('git init');
213214
}
214215

0 commit comments

Comments
 (0)