mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
Fix crash when encountering an included directory which doesn't exist (#6497)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
This commit is contained in:
parent
cfcf14fd06
commit
9a0722625b
6 changed files with 65 additions and 24 deletions
|
|
@ -27,6 +27,7 @@ vi.mock('node:process', () => {
|
|||
const mockProcess: Partial<NodeJS.Process> = {
|
||||
exit: mockProcessExit,
|
||||
platform: 'sunos',
|
||||
cwd: () => '/fake/dir',
|
||||
} as unknown as NodeJS.Process;
|
||||
return {
|
||||
...mockProcess,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue