mirror of
https://github.com/stablyai/orca.git
synced 2026-10-29 08:07:18 +00:00
fix(skills): normalize contributor-facing paths in the skill guide generator
path.relative returns backslash-separated paths on Windows, so the stale-artifact and frontmatter diagnostics printed src\cli\... there while tests and copy-pasteable commands expect forward slashes. Hoist the normalization into toPosixRelativePath, apply it to both call sites, and cover the Windows branch on every platform by injecting path.win32. Co-authored-by: poorpaper <poorpaperdesire@gmail.com>
This commit is contained in:
@@ -638,6 +638,7 @@ jobs:
|
||||
src/main/windows/windows-host-job.win32.test.ts
|
||||
src/main/cli/wsl-cli-powershell-boundary.test.ts
|
||||
src/main/orca-profiles/profile-index-store.test.ts
|
||||
config/scripts/generate-bundled-skill-guides.test.mjs
|
||||
src/main/runtime/repo-worktree-admin-fingerprint.test.ts
|
||||
src/main/runtime/worktree-scan-admin-fingerprint-gate.test.ts
|
||||
src/shared/secure-file-fsync-flags.test.ts
|
||||
|
||||
Reference in New Issue
Block a user