diff options
author | 2022-04-26 20:38:31 -0400 | |
---|---|---|
committer | 2022-04-26 20:38:31 -0400 | |
commit | 00fc1326ed526974cc4aca9faec410df91b4bcbd (patch) | |
tree | 3e3951a8b75d52395872f259ae7e681543e4a748 /packages/create-astro/src | |
parent | 8f2f4de5dc9a882030ca01e50cec66ed0f3dfc80 (diff) | |
download | astro-00fc1326ed526974cc4aca9faec410df91b4bcbd.tar.gz astro-00fc1326ed526974cc4aca9faec410df91b4bcbd.tar.zst astro-00fc1326ed526974cc4aca9faec410df91b4bcbd.zip |
Refactor/clean create astro logs (#3212)
* refactor: simplify dir error log to avoid wrapped text
* refactor: remove redundant "issue" callout
* chore: changeset
* chore: update tests for new dir log
Diffstat (limited to 'packages/create-astro/src')
-rw-r--r-- | packages/create-astro/src/index.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index 80b3b4fd1..a6cedeb86 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -45,11 +45,6 @@ export async function main() { logger.debug('Verbose logging turned on'); console.log(`\n${bold('Welcome to Astro!')} ${gray(`(create-astro v${version})`)}`); - console.log( - `If you encounter a problem, visit ${cyan( - 'https://github.com/withastro/astro/issues' - )} to search or file a new issue.\n` - ); let spinner = ora({ color: 'green', text: 'Prepare for liftoff.' }); @@ -66,8 +61,7 @@ export async function main() { } if (!cwd || !isEmpty(cwd)) { - const notEmptyMsg = (dirPath: string) => - `"${bold(dirPath)}" is not empty. Please clear contents or choose a different path.`; + const notEmptyMsg = (dirPath: string) => `"${bold(dirPath)}" is not empty!`; if (!isEmpty(cwd)) { let rejectProjectDir = ora({ color: 'red', text: notEmptyMsg(cwd) }); |