mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
Merge pull request #1758 from QwenLM/mingholy/fix/fork-mode-ipc
Fix CLI argument parsing for /dist/cli/cli.js entry point
This commit is contained in:
commit
c8e8581978
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ export async function parseArguments(): Promise<CliArgs> {
|
|||
if (
|
||||
rawArgv.length > 0 &&
|
||||
(rawArgv[0].endsWith('/dist/qwen-cli/cli.js') ||
|
||||
rawArgv[0].endsWith('/dist/cli.js'))
|
||||
rawArgv[0].endsWith('/dist/cli.js') ||
|
||||
rawArgv[0].endsWith('/dist/cli/cli.js'))
|
||||
) {
|
||||
rawArgv = rawArgv.slice(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue