summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2021-11-17 18:32:36 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-11-17 18:32:36 +0000
commite1e12eb7feab9f231615701914a8b39985bb5b12 (patch)
tree0d19e91a5167d98086400360ce462a3117ef60fd
parent6c66d4834bf1feb192d6b2b5a29b77cc5e6a34f3 (diff)
downloadastro-e1e12eb7feab9f231615701914a8b39985bb5b12.tar.gz
astro-e1e12eb7feab9f231615701914a8b39985bb5b12.tar.zst
astro-e1e12eb7feab9f231615701914a8b39985bb5b12.zip
[ci] yarn format
-rw-r--r--packages/create-astro/src/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index 9f09722d1..a4a72f6dc 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -10,10 +10,10 @@ import { TEMPLATES } from './templates.js';
import { createConfig } from './config.js';
// NOTE: In the v7.x version of npm, the default behavior of `npm init` was changed
-// to no longer require `--` to pass args and instead pass `--` directly to us. This
-// broke our arg parser, since `--` is a special kind of flag. Filtering for `--` here
+// to no longer require `--` to pass args and instead pass `--` directly to us. This
+// broke our arg parser, since `--` is a special kind of flag. Filtering for `--` here
// fixes the issue so that create-astro now works on all npm version.
-const cleanArgv = process.argv.filter(arg => arg !== '--')
+const cleanArgv = process.argv.filter((arg) => arg !== '--');
const args = yargs(cleanArgv);
prompts.override(args);