mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
avoid loading and initializing CLI config twice in non-interactive mode (#5793)
This commit is contained in:
parent
53f8617b24
commit
19491b7b94
6 changed files with 201 additions and 61 deletions
|
|
@ -30,7 +30,6 @@ export async function runNonInteractive(
|
|||
});
|
||||
|
||||
try {
|
||||
await config.initialize();
|
||||
consolePatcher.patch();
|
||||
// Handle EPIPE errors when the output is piped to a command that closes early.
|
||||
process.stdout.on('error', (err: NodeJS.ErrnoException) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue