diff options
author | 2021-10-22 17:50:36 -0400 | |
---|---|---|
committer | 2021-10-22 17:50:36 -0400 | |
commit | d5fdeefebb2e62ea91eadac17ec3056275f3358f (patch) | |
tree | 9e7f534f2fe865e8e8bb7a0fd36e116483d299c6 /packages/create-astro/src | |
parent | 9f53699d6f587876148563ef0614bdc92781d7fd (diff) | |
download | astro-d5fdeefebb2e62ea91eadac17ec3056275f3358f.tar.gz astro-d5fdeefebb2e62ea91eadac17ec3056275f3358f.tar.zst astro-d5fdeefebb2e62ea91eadac17ec3056275f3358f.zip |
Pull examples from latest branch (#1641)
* pull examples from latest branch
* changeset
Diffstat (limited to 'packages/create-astro/src')
-rw-r--r-- | packages/create-astro/src/index.ts | 2 |
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..3b61333e0 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/examples/${options.template}#latest`; const emitter = degit(`${templateTarget}${hash}`, { cache: false, |