Commit ea0e841
committed
Fix epoch filter strict equality mismatch with numeric frontmatter values
fmParseScalarValue converts numeric-looking YAML values to JS numbers,
but filter_epoch from the zod schema is always a string. Wrap the
frontmatter epoch in String() so strict equality works regardless of
the parsed type.1 parent 0b75140 commit ea0e841
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| |||
0 commit comments