mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-15 23:31:10 +00:00
process.exit() forcefully kills the process, preventing libuv from cleanly closing HTTP connections (undici). On Windows this triggers an assertion failure: UV_HANDLE_CLOSING. Using process.exitCode = 1 lets Node.js exit gracefully after the event loop drains, eliminating the assertion error while still returning exit code 1. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .npmignore | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| unbuild.config.ts | ||
| vitest.config.ts | ||