Skip to content

Commit

Permalink
Update packages/create-astro/src/actions/template.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored Aug 8, 2023
1 parent ba23cb6 commit dd472f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-astro/src/actions/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const FILES_TO_UPDATE = {

function getTemplateTarget(tmpl: string, ref = 'latest') {
if (tmpl.startsWith('starlight')) {
const [_, starter = 'basics'] = tmpl.split('/');
const [, starter = 'basics'] = tmpl.split('/');
return `withastro/starlight/examples/${starter}`;
}
const isThirdParty = tmpl.includes('/');
Expand Down

0 comments on commit dd472f2

Please sign in to comment.