[ci] format
This commit is contained in:
parent
5c64324c0a
commit
5e3d538812
1 changed files with 2 additions and 4 deletions
|
@ -301,9 +301,7 @@ export async function main() {
|
|||
// Add a check to see if there is already a .git directory and skip 'git init' if yes (with msg to output)
|
||||
const gitDir = './.git';
|
||||
if (fs.existsSync(gitDir)) {
|
||||
ora().info(
|
||||
dim('A .git directory already exists. Skipping creating a new Git repository.')
|
||||
);
|
||||
ora().info(dim('A .git directory already exists. Skipping creating a new Git repository.'));
|
||||
} else {
|
||||
await execaCommand('git init', { cwd });
|
||||
ora().succeed('Git repository created!');
|
||||
|
|
Loading…
Reference in a new issue