summaryrefslogtreecommitdiff
path: root/packages/create-astro/src
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-03-10 07:55:40 -0800
committerGravatar GitHub <noreply@github.com> 2022-03-10 09:55:40 -0600
commit79fc320480b2a638ef707079a624519bd54f1550 (patch)
tree2c8bafcfd7e80fa8faa8c1c1aba0156e79de66b3 /packages/create-astro/src
parent52d812b31ae18327029f22a6c92ae31c8318bb81 (diff)
downloadastro-79fc320480b2a638ef707079a624519bd54f1550.tar.gz
astro-79fc320480b2a638ef707079a624519bd54f1550.tar.zst
astro-79fc320480b2a638ef707079a624519bd54f1550.zip
update deps: esbuild, typescript (#2750)
* update dep: typescript * update dep: esbuild * update types * update types * update dep: es-module-lexer * update tests
Diffstat (limited to 'packages/create-astro/src')
-rw-r--r--packages/create-astro/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index e31b6ce10..35cbf9dfe 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -39,7 +39,7 @@ export async function main() {
console.log(`${green(`>`)} ${gray(`Prepare for liftoff.`)}`);
console.log(`${green(`>`)} ${gray(`Gathering mission details...`)}`);
- const cwd = args['_'][2] || '.';
+ const cwd = args['_'][2] as string || '.';
if (fs.existsSync(cwd)) {
if (fs.readdirSync(cwd).length > 0) {
const response = await prompts({