Skip to content

Commit af8ae0c

Browse files
committed
fix(prompts): 优化 git 仓库初始化成功提示信息
- 修改了 initGitRepo 函数中的 spinner.stop 调用 - 添加了成功的提示信息 'Git 仓库初始化成功' - 优化了用户界面交互体验
1 parent cfd76de commit af8ae0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function initGitRepo(cwd: string) {
104104
throw new ExitError(err.message, 1);
105105
}
106106

107-
spinner.stop(stdout, 0);
107+
spinner.stop(stdout || 'Git repository initialized successfully', 0);
108108
}
109109

110110
export function checkNodeVersion(requiredVersion: number) {

0 commit comments

Comments
 (0)