servo: Merge #13537 - Ensure cargo is up to date before running update crate command (from GuillaumeGomez:mach_update); r=Wafflespeanut

Fixes #13526

Source-Repo: https://github.com/servo/servo
Source-Revision: 45cc847a005e1722b888ba2ea20f4ab80b70af9f
This commit is contained in:
Guillaume Gomez 2016-10-01 14:13:05 -05:00
Родитель 091fabd620
Коммит dd925f771a
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -87,6 +87,8 @@ class MachCommands(CommandBase):
print("flag or update all packages with --all-packages (-a) flag")
sys.exit(1)
self.ensure_bootstrapped()
for cargo_path in CARGO_PATHS:
with cd(cargo_path):
print(cargo_path)