From 4b5492753f62e608ab7eb8a33f02cbab392c08fc Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Mon, 6 Dec 2021 14:22:58 -0800 Subject: [PATCH] Don't run curl in verbose mode when --verbose set 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 --- tools/download_dart_sdk.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/download_dart_sdk.py b/tools/download_dart_sdk.py index d77d8ccdeb932..14cee6007d8c0 100755 --- a/tools/download_dart_sdk.py +++ b/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,