mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-16 04:28:39 +00:00
The issue was that new URL().pathname returns Unix-style paths on Windows (e.g., /D:/a/skillhub/...) which Bun.spawn() cannot resolve correctly. Using fileURLToPath() converts the URL to a proper platform-specific path. Changes: - cli/test/helpers/run-cli.ts: use fileURLToPath for cwd - cli/test/integration/version-command.test.ts: same fix for build spawn |
||
|---|---|---|
| .. | ||
| fake-registry.ts | ||
| run-cli.ts | ||
| temp-env.ts | ||