Commit 6ff5592
committed
fix(summon): normalize path separators for cross-platform supporting file resolution
On Windows, Path::to_string_lossy() uses backslash separators but
load() paths use forward slashes. Normalize discovered file paths
to use forward slashes before comparison and in user-facing output
so load(source: "skill/references/ops.md") matches consistently.1 parent ef4f46e commit 6ff5592
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
| 503 | + | |
| 504 | + | |
504 | 505 | | |
505 | 506 | | |
506 | 507 | | |
| |||
1112 | 1113 | | |
1113 | 1114 | | |
1114 | 1115 | | |
| 1116 | + | |
1115 | 1117 | | |
1116 | 1118 | | |
1117 | | - | |
| 1119 | + | |
1118 | 1120 | | |
1119 | | - | |
| 1121 | + | |
1120 | 1122 | | |
1121 | 1123 | | |
1122 | 1124 | | |
| |||
1140 | 1142 | | |
1141 | 1143 | | |
1142 | 1144 | | |
1143 | | - | |
| 1145 | + | |
1144 | 1146 | | |
1145 | 1147 | | |
1146 | 1148 | | |
| |||
0 commit comments