Skip to content

Commit

Permalink
nit: adding a comment to document what the fix is doing
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Sullivan committed Jul 19, 2022
1 parent eed8a80 commit b74ef9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/create-astro/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ 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 templateTarget = options.template.includes('/')
? options.template
: `withastro/astro/examples/${options.template}#latest`;
Expand Down

0 comments on commit b74ef9b

Please sign in to comment.