Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse --renderers flag correctly when passed to the create-astro cli #2124

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

leosvelperez
Copy link
Contributor

@leosvelperez leosvelperez commented Dec 4, 2021

Changes

Fixes #2045. Make sure the --renderers flag is parsed correctly as an array when passed.

Testing

I tested it manually since I tried running yarn test:templates locally but it fails even without any changes. I saw the create-astro package tests are not being run as part of CI, is that because they are broken or slow? 🤷🏻

If I'm missing something, I'd be happy to amend the tests for it. We just need to pass the renderers for templates with renderers: true and it should succeed.

Docs

Bug fix only

@changeset-bot
Copy link

changeset-bot bot commented Dec 4, 2021

🦋 Changeset detected

Latest commit: 4f32897

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-astro Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: create-astro Related to the `create-astro` package (scope) label Dec 4, 2021
@matthewp
Copy link
Contributor

matthewp commented Dec 6, 2021

Awesome, thank you!

@matthewp matthewp merged commit c0f29bc into withastro:main Dec 6, 2021
@github-actions github-actions bot mentioned this pull request Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: create-astro Related to the `create-astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 BUG: Can't pass renderers to create-astro
2 participants