mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-06 16:21:33 +00:00
The `uv` executable path was not quoted, causing failures on Windows when the user profile path contained spaces (e.g. "C:\Users\John Doe\.eigent\bin\uv.exe"). This occurs because `spawn` with `shell: true` parses the space as an argument separator. This change wraps the `uv_path` in double quotes when constructing `npmCommand` and `npxCommand`, ensuring the shell treats the full path as the executable. Also fixed a missing mock for `getUvEnv` in `test/mocks/environmentMocks.ts` which was causing unit tests to fail. |
||
|---|---|---|
| .. | ||
| authStore.mock.ts | ||
| electronMocks.ts | ||
| environmentMocks.ts | ||
| proxy.mock.ts | ||
| sse.mock.ts | ||
| testUtils.ts | ||