Skip to content

Commit 00edc95

Browse files
committed
feat(prompts): 优化 Git 仓库初始化成功提示信息
- 移除了不必要的 stdout 参数,确保在所有情况下都能显示预设的成功提示信息
1 parent a7f5f6a commit 00edc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export async function initGitRepo(cwd: string) {
113113
throw new ExitError(err.message, 1);
114114
}
115115

116-
spinner.stop(stdout || 'Git repository initialized successfully', 0);
116+
spinner.stop('Git repository initialized successfully', 0);
117117
}
118118

119119
export function checkNodeVersion(requiredVersion: number) {

0 commit comments

Comments
 (0)