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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user