summaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src
diff options
context:
space:
mode:
authorGravatar Eric Park <me@ericswpark.com> 2025-01-06 04:57:53 +0900
committerGravatar GitHub <noreply@github.com> 2025-01-05 19:57:53 +0000
commit3acc65444c27d87b6f2d61bdfa7df0e0db4e2686 (patch)
tree5ce98903ac6767476d464751499478d20177a073 /examples/framework-multiple/src
parentfbac92f8bdbb5ee1312726b2a535a81271b3f7d6 (diff)
downloadastro-3acc65444c27d87b6f2d61bdfa7df0e0db4e2686.tar.gz
astro-3acc65444c27d87b6f2d61bdfa7df0e0db4e2686.tar.zst
astro-3acc65444c27d87b6f2d61bdfa7df0e0db4e2686.zip
fix: match index files only by using entire basename (#12815)
* fix: match index files only by using entire basename The previous code would cause file names like `index.xml.ts` to be treated as index files, when they aren't (the file basename excluding the extension `.ts` is `index.xml`, and `index` should be the index file). To match index files only, match the entire first half of the basename when splitting by the last occurrence of the period/file extension delimiter. Pedantically this might not be correct -- i.e. some file extensions actually span multiple delimiters, like index.tar.gz. But in that case it's not an index file as well, so I think this is fine. Fixes #12675 * Add changeset
Diffstat (limited to 'examples/framework-multiple/src')
0 files changed, 0 insertions, 0 deletions