mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
gclient sync only run pub get in workspace root folders (#169134)
`pub get` will resolve the entire workspace, so there is no reason to run it for each package. Co-authored-by: Matan Lurey <matanlurey@users.noreply.github.com>
This commit is contained in:
parent
1bb1b1baf0
commit
071069046b
@ -165,9 +165,9 @@ def main():
|
||||
|
||||
pub_count = 0
|
||||
for package in ALL_PACKAGES:
|
||||
if fetch_package(pubcmd, package) != 0:
|
||||
return 1
|
||||
if not package_uses_workspace_resolution(package):
|
||||
if fetch_package(pubcmd, package) != 0:
|
||||
return 1
|
||||
pub_count = pub_count + check_package_config(package)
|
||||
|
||||
if pub_count > 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user