Merge #573: make reference-link assertion portable on Windows

This commit is contained in:
Addy Osmani authored and GitHub committed 2026-09-17 16:37:53 -07:00
commit b9f7706a18
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ function main() {
} else {
console.log(` ✗ skills/${name}/SKILL.md`);
for (const { line, link } of violations) {
const resolved = path.relative(ROOT, path.resolve(skillDir, link));
const resolved = path.relative(ROOT, path.resolve(skillDir, link)).split(path.sep).join('/');
console.log(` L${line}: ${link} — resolves to ${resolved}, which does not exist`);
errors++;
}