aboutsummaryrefslogtreecommitdiff
path: root/packages/create-astro/src/actions/git.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/create-astro/src/actions/git.ts')
-rw-r--r--packages/create-astro/src/actions/git.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/create-astro/src/actions/git.ts b/packages/create-astro/src/actions/git.ts
index d75ed18cc..1ecf8c542 100644
--- a/packages/create-astro/src/actions/git.ts
+++ b/packages/create-astro/src/actions/git.ts
@@ -7,7 +7,7 @@ import { error, info, title } from '../messages.js';
import { shell } from '../shell.js';
export async function git(
- ctx: Pick<Context, 'cwd' | 'git' | 'yes' | 'prompt' | 'dryRun' | 'tasks'>
+ ctx: Pick<Context, 'cwd' | 'git' | 'yes' | 'prompt' | 'dryRun' | 'tasks'>,
) {
if (fs.existsSync(path.join(ctx.cwd, '.git'))) {
await info('Nice!', `Git has already been initialized`);
@@ -41,7 +41,7 @@ export async function git(
} else {
await info(
ctx.yes === false ? 'git [skip]' : 'Sounds good!',
- `You can always run ${color.reset('git init')}${color.dim(' manually.')}`
+ `You can always run ${color.reset('git init')}${color.dim(' manually.')}`,
);
}
}
@@ -58,7 +58,7 @@ async function init({ cwd }: { cwd: string }) {
'Initial commit from Astro',
'--author="houston[bot] <astrobot-houston@users.noreply.github.com>"',
],
- { cwd, stdio: 'ignore' }
+ { cwd, stdio: 'ignore' },
);
} catch {}
}