Skip to content

test(mirror): the folder listing uses / on Windows too - #51

Merged
leemour merged 1 commit into
mainfrom
fix/mirror-test-windows-paths
Nov 25, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/mirror-test-windows-paths

Conversation

@leemour

@leemour leemour commented Nov 25, 2026

Copy link
Copy Markdown
Member

The 0.9.0 release workflow failed on Windows twice in src/mirror-target.test.ts: the test's tree() helper keyed files by readdirSync's native path (Plan\Step.md), and posix.normalize keeps backslashes. The mirror code was right. Test-only change, so the 0.9.0 live check (tests left out) still holds.

Checked: vitest run src/mirror-target.test.ts (14 passed), biome.

🤖 Generated with Claude Code

readdirSync returns Plan\Step.md on Windows and posix.normalize keeps the backslash, so the
Windows release job compared "Plan\Step.md" with "Plan/Step.md" and stopped the 0.9.0 release.
The mirror itself was right; only the test's tree() helper read the native separator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit c8f9e48 into main Nov 25, 2026
16 checks passed
@leemour
leemour deleted the fix/mirror-test-windows-paths branch November 25, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant