From 74e90fc8170db30ec3d507103c45678e909205c6 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 7 Dec 2021 11:06:58 -0800 Subject: [PATCH] Don't run curl in verbose mode when --verbose set (flutter/engine#30170) In download_dart_sdk.py, we previously ran curl with the --verbose flag when the --verbose flag was passed to the script. This generates vast quantities of output that is unlikely to be valuable except if we're attempting to debug a curl download issue. In such a case we could perhaps pass a separate --verbose-download flag as well. Issue: https://github.com/flutter/flutter/issues/94492 --- engine/src/flutter/tools/download_dart_sdk.py | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/src/flutter/tools/download_dart_sdk.py b/engine/src/flutter/tools/download_dart_sdk.py index 85de872b96..80804ebdc3 100755 --- a/engine/src/flutter/tools/download_dart_sdk.py +++ b/engine/src/flutter/tools/download_dart_sdk.py @@ -108,7 +108,6 @@ def DownloadDartSDK(channel, version, os_name, arch, verbose): url, ] if verbose: - curl_command.append('--verbose') print('Running: "%s"' % (' '.join(curl_command))) curl_result = subprocess.run( curl_command,