Commit f442b25
fix: use Path.name for cross-platform directory extraction
Fixes #51
The validation logic used `path.rsplit("/", 1)[-1]` which only splits on
forward slashes. On Windows, paths use backslashes, causing the full
path to be compared against frontmatter.name instead of just the
directory name.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 9ac6779 commit f442b25
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments