Skip to content

Fix bug when passing sereval collections.#2

Open
jkuebart wants to merge 1 commit intohellatan:masterfrom
jkuebart:patch-1
Open

Fix bug when passing sereval collections.#2
jkuebart wants to merge 1 commit intohellatan:masterfrom
jkuebart:patch-1

Conversation

@jkuebart
Copy link

@jkuebart jkuebart commented Oct 9, 2019

When passing [posts, ando] as collections, file names are matched against the regular expression ^posts|ando. This expression also matches the folder name rando (see test fixtures).

By adding parentheses to the regular expression ^(posts|ando), the matching behaves as expected (i.e. in line with individual collections).

When passing `[posts, ando]` as collections, file names are matched against the regular expression `^posts|ando`. This expression also matches the folder name `rando` (see test fixtures).

By adding parentheses to the regular expression `^(posts|ando)`, the matching behaves as expected (i.e. in line with individual collections).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant