Skip to content

Commit 7a1997d

Browse files
committed
Allow output in stdout even in streaming mode
1 parent f6b80a7 commit 7a1997d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def __export_config_async(endpoint: platform.Platform, what: list[str], **kwargs
298298

299299
def __export_config(endpoint: platform.Platform, what: list[str], **kwargs) -> None:
300300
"""Exports the configuration of the SonarQube platform"""
301-
if kwargs[options.KEYS] or options.WHAT_PROJECTS not in what or kwargs[options.FORMAT] != "json" or not kwargs[options.REPORT_FILE]:
301+
if kwargs[options.KEYS] or options.WHAT_PROJECTS not in what or kwargs[options.FORMAT] != "json":
302302
__export_config_sync(endpoint=endpoint, what=what, **kwargs)
303303
else:
304304
__export_config_async(endpoint=endpoint, what=what, **kwargs)

0 commit comments

Comments
 (0)