Ensure cargo is up to date before running update crate command

This commit is contained in:
Guillaume Gomez 2016-10-01 13:38:45 +02:00
parent 7f84982de2
commit eb27bcff7e

View file

@ -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)