summaryrefslogtreecommitdiff
path: root/packages/create-astro/src
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-10-22 15:59:02 -0400
committerGravatar GitHub <noreply@github.com> 2021-10-22 15:59:02 -0400
commit28f00566cac7688bd4b958656e1374c4e41be201 (patch)
tree90ce50124f4550740f237c03b72520f7f73387e3 /packages/create-astro/src
parent6e7a14188fcd8817e9c0ad0d5a924dab89af596f (diff)
downloadastro-28f00566cac7688bd4b958656e1374c4e41be201.tar.gz
astro-28f00566cac7688bd4b958656e1374c4e41be201.tar.zst
astro-28f00566cac7688bd4b958656e1374c4e41be201.zip
Make create-astro use the `latest` branch (#1636)
* Make create-astro use the `latest` branch * Adds a changeset
Diffstat (limited to '')
-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 aa2cf7c5a..21fa49de1 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -64,7 +64,7 @@ export async function main() {
const hash = args.commit ? `#${args.commit}` : '';
- const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro/examples/${options.template}`;
+ const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro#latest/examples/${options.template}`;
const emitter = degit(`${templateTarget}${hash}`, {
cache: false,