forked from firka/flutter
Update bytes str code (flutter/engine#39275)
This commit is contained in:
@@ -64,6 +64,7 @@ def CheckCIPDPackageExists(package_name, tag):
|
||||
tag,
|
||||
]
|
||||
stdout = subprocess.check_output(command)
|
||||
stdout = stdout if isinstance(stdout, str) else stdout.decode('UTF-8')
|
||||
match = re.search(r'No matching instances\.', stdout)
|
||||
if match:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user