You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please either change test() to respect this constraint, or allow an extra parameter to be passed that defines whether this constraint is respected or not.
The text was updated successfully, but these errors were encountered:
jgclark
changed the title
test() doesn't check tha tht
test() doesn't check that frontmatter is at the front
Apr 3, 2023
You describe frontmatter in the way that I understand it: it must come at the top of a file.
However, test() doesn't check that the YAML block comes at the start of the passed string:
front-matter/index.js
Line 79 in 71f4ea0
because
regex
isn't defined as being at the start of the string:front-matter/index.js
Lines 4 to 11 in 71f4ea0
Please either change test() to respect this constraint, or allow an extra parameter to be passed that defines whether this constraint is respected or not.
The text was updated successfully, but these errors were encountered: