use unused self-documenting variable (#4605)
This commit is contained in:
parent
9bcf3c6542
commit
e6c80843f8
1 changed files with 1 additions and 2 deletions
|
@ -116,9 +116,8 @@ export async function main() {
|
|||
|
||||
const hash = args.commit ? `#${args.commit}` : '';
|
||||
|
||||
// Don't touch the template name if a GitHub repo was provided, ex: `--template cassidoo/shopify-react-astro`
|
||||
const isThirdParty = options.template.includes('/');
|
||||
const templateTarget = options.template.includes('/')
|
||||
const templateTarget = isThirdParty
|
||||
? options.template
|
||||
: `withastro/astro/examples/${options.template}#latest`;
|
||||
|
||||
|
|
Loading…
Reference in a new issue