summaryrefslogtreecommitdiff
path: root/.changeset
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-05-30 16:27:47 -0400
committerGravatar GitHub <noreply@github.com> 2023-05-30 16:27:47 -0400
commitf5063d0a01e3179da902fdc0a2b22f88cb3c95c7 (patch)
treeef60e1182a41959d11b7924191f6110cf8abdf6b /.changeset
parent8da07ab754af11c053e91144b313e22f11450690 (diff)
downloadastro-f5063d0a01e3179da902fdc0a2b22f88cb3c95c7.tar.gz
astro-f5063d0a01e3179da902fdc0a2b22f88cb3c95c7.tar.zst
astro-f5063d0a01e3179da902fdc0a2b22f88cb3c95c7.zip
Content collections - fix `.json` collection errors (#7246)
* fix: avoid error on collectionType === 'unknown' * fix: ignore underscores in file globs * chore: clarify [!_] * fix: mismatch error not throwing * fix: bad collectionType var * test: no error for empty collection * chore: changeset
Diffstat (limited to '.changeset')
-rw-r--r--.changeset/olive-rabbits-rhyme.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/.changeset/olive-rabbits-rhyme.md b/.changeset/olive-rabbits-rhyme.md
new file mode 100644
index 000000000..7720c1ed5
--- /dev/null
+++ b/.changeset/olive-rabbits-rhyme.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fix content collection build errors for empty collections or underscore files of type `.json`.