From eb27bcff7ebef4bacdc3d283e63b6aa3763e1e72 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 1 Oct 2016 13:38:45 +0200 Subject: [PATCH] Ensure cargo is up to date before running update crate command --- python/servo/devenv_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index 2fc4a08e434..5a41b8b1b37 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -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)