mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 21:32:56 -07:00
fix(cli): allow early stdout when config is undefined (#26453)
This commit is contained in:
@@ -830,7 +830,7 @@ export function initializeOutputListenersAndFlush(config?: Config) {
|
||||
}
|
||||
|
||||
const outputFormat = config?.getOutputFormat();
|
||||
const forceToStderr = outputFormat === 'json' || config === undefined;
|
||||
const forceToStderr = outputFormat === 'json';
|
||||
|
||||
coreEvents.drainBacklogs(
|
||||
<K extends keyof CoreEvents>(event: K, args: CoreEvents[K]) => {
|
||||
|
||||
Reference in New Issue
Block a user