From dd472f2863062d1828a9172bf2266c49ebf890de Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Tue, 8 Aug 2023 10:58:32 -0500 Subject: [PATCH] Update packages/create-astro/src/actions/template.ts --- packages/create-astro/src/actions/template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-astro/src/actions/template.ts b/packages/create-astro/src/actions/template.ts index ac7aa767e4f2..ca041642bf99 100644 --- a/packages/create-astro/src/actions/template.ts +++ b/packages/create-astro/src/actions/template.ts @@ -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('/');