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

Remove AstroError if content directory is empty #8382

Merged
merged 6 commits into from
Sep 21, 2023

Conversation

DerTimonius
Copy link
Contributor

Changes

Testing

Added a new test in the content-collection.test.js, currently work in progress

Docs

Docs are unaffected by this change

Still Todo

Wanted to wait for some feedback before:

  • Finish tests
  • changeset

@changeset-bot
Copy link

changeset-bot bot commented Sep 3, 2023

🦋 Changeset detected

Latest commit: ef8269e

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

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: astro Related to the core `astro` package (scope) label Sep 3, 2023
@florian-lefebvre
Copy link
Member

Any news on this? Maybe you can mark it as ready and you'll get reviews about the changeset etc?

@DerTimonius
Copy link
Contributor Author

I wanted to wait for initial feedback, since I was not sure if I'm on the right track here, but I'll mark it as ready for review

@DerTimonius DerTimonius marked this pull request as ready for review September 9, 2023 10:29
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we can merge this PR, once rebased

@ematipico ematipico merged commit e522a5e into withastro:main Sep 21, 2023
12 of 13 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for empty content collections
3 participants