mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update pub_get_offline.py (flutter/engine#26510)
This commit is contained in:
parent
31f334bf2e
commit
c386089d6a
@ -32,7 +32,7 @@ def FetchPackage(pub, package):
|
||||
subprocess.check_output(pub, cwd=package, stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("'%s' failed in '%s' with status %d:\n%s" %
|
||||
(' '.join(cmd), cwd, err.returncode, err.output))
|
||||
(' '.join(pub), package, err.returncode, err.output))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user