diff options
author | 2023-11-18 00:38:54 -0800 | |
---|---|---|
committer | 2023-11-18 00:38:54 -0800 | |
commit | 6201bbe96c2a083fb201e4a43a9bd88499821a3e (patch) | |
tree | 1d2da0ec8a75c573f106ff8608cfb696905184e0 /packages/create-astro/src | |
parent | 1c48ed286538ab9e354eca4e4dcd7c6385c96721 (diff) | |
download | astro-6201bbe96c2a083fb201e4a43a9bd88499821a3e.tar.gz astro-6201bbe96c2a083fb201e4a43a9bd88499821a3e.tar.zst astro-6201bbe96c2a083fb201e4a43a9bd88499821a3e.zip |
Logging rewrite 2 (#9105)
* update logging
add back warning for header access
improve labels and formatting
improve error logging
remove outdated error
fix build
new error messages and hints
new error messages and hints
* walk back error message changes
* fix rebase issues
* add changeset
* Remove accidental log
* revert bad env change
* Update index.ts
* Update packages/astro/src/core/build/index.ts
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/create-astro/src')
-rw-r--r-- | packages/create-astro/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index 3ac5d231b..f641e876e 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -19,9 +19,9 @@ process.on('SIGTERM', exit); // https://github.com/withastro/docs/blob/main/src/pages/en/install/auto.md // if you make any changes to the flow or wording here. export async function main() { - // Clear console because PNPM startup is super ugly + // Add some extra spacing from the noisy npm/pnpm init output // eslint-disable-next-line no-console - console.clear(); + console.log(''); // 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 |