summaryrefslogtreecommitdiff
path: root/packages/create-astro/src/index.ts
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-11-23 14:47:05 -0800
committerGravatar GitHub <noreply@github.com> 2021-11-23 14:47:05 -0800
commit7476a92461c4ed3e9b879d3ee7669ba59d027248 (patch)
tree8d32e787f467b8efdcc2de52786cd306834c4d36 /packages/create-astro/src/index.ts
parent9ed6b3c0f00722436f4b30829046c1e9ef4e5765 (diff)
downloadastro-7476a92461c4ed3e9b879d3ee7669ba59d027248.tar.gz
astro-7476a92461c4ed3e9b879d3ee7669ba59d027248.tar.zst
astro-7476a92461c4ed3e9b879d3ee7669ba59d027248.zip
update repo URL (#1994)
Diffstat (limited to 'packages/create-astro/src/index.ts')
-rw-r--r--packages/create-astro/src/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index fb4dfe26a..1334c747a 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -32,7 +32,7 @@ const POSTPROCESS_FILES = ['package.json', 'astro.config.mjs', 'CHANGELOG.md'];
export async function main() {
console.log(`\n${bold('Welcome to Astro!')} ${gray(`(create-astro v${version})`)}`);
- console.log(`If you encounter a problem, visit ${cyan('https://github.com/snowpackjs/astro/issues')} to search or file a new issue.\n`);
+ console.log(`If you encounter a problem, visit ${cyan('https://github.com/withastro/astro/issues')} to search or file a new issue.\n`);
console.log(`${green(`>`)} ${gray(`Prepare for liftoff.`)}`);
console.log(`${green(`>`)} ${gray(`Gathering mission details...`)}`);
@@ -70,7 +70,7 @@ export async function main() {
const hash = args.commit ? `#${args.commit}` : '';
- const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro/examples/${options.template}#latest`;
+ const templateTarget = options.template.includes('/') ? options.template : `withastro/astro/examples/${options.template}#latest`;
const emitter = degit(`${templateTarget}${hash}`, {
cache: false,
@@ -109,13 +109,13 @@ export async function main() {
// Warning for issue #655
if (err.message === 'zlib: unexpected end of file') {
console.log(yellow("This seems to be a cache related problem. Remove the folder '~/.degit/github/snowpackjs' to fix this error."));
- console.log(yellow('For more information check out this issue: https://github.com/snowpackjs/astro/issues/655'));
+ console.log(yellow('For more information check out this issue: https://github.com/withastro/astro/issues/655'));
}
// Helpful message when encountering the "could not find commit hash for ..." error
if (err.code === 'MISSING_REF') {
console.log(yellow("This seems to be an issue with degit. Please check if you have 'git' installed on your system, and install it if you don't have (https://git-scm.com)."));
- console.log(yellow("If you do have 'git' installed, please file a new issue here: https://github.com/snowpackjs/astro/issues"));
+ console.log(yellow("If you do have 'git' installed, please file a new issue here: https://github.com/withastro/astro/issues"));
}
process.exit(1);
}