Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(init): remove error when Git initialisation failed #2215

Merged
merged 2 commits into from
Dec 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/cli/src/commands/init/createGitRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ const createGitRepository = async (folder: string) => {
);
loader.succeed();
} catch (e) {
loader.fail(
'Could not create an empty Git repository, see debug logs with --verbose',
loader.stop();
szymonrybczak marked this conversation as resolved.
Show resolved Hide resolved
logger.debug(
'Could not create an empty Git repository, error: ',
e as string,
);
logger.debug(e as string);
}
};

Expand Down