mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
ci: more lenient check for is_ci in lib.util.download
AppVeyor sets CI=True or CI=true, not CI=1
This commit is contained in:
@@ -87,7 +87,7 @@ def download(text, url, path):
|
||||
downloaded_size = 0
|
||||
block_size = 128
|
||||
|
||||
ci = os.environ.get('CI') == '1'
|
||||
ci = os.environ.get('CI') is not None
|
||||
|
||||
while True:
|
||||
buf = web_file.read(block_size)
|
||||
|
||||
Reference in New Issue
Block a user