mirror of
https://github.com/addyosmani/agent-skills.git
synced 2026-10-26 15:05:04 +00:00
Merge #573: make reference-link assertion portable on Windows
This commit is contained in:
1 file changed
+1
-1
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user