Bug 1786062 - Part 2: Fix pylint failure in vendor_rust.py CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D155474
This commit is contained in:
Nika Layzell 2022-08-24 14:04:48 +00:00
parent b9da521e9e
commit 7bf48df86c

View File

@ -824,6 +824,11 @@ license file's hash.
{},
"Unknown vet error. Run `./mach cargo vet` for more information.",
)
failed = True
# If we failed when checking the crates list and/or running `cargo vet`,
# stop before invoking `cargo vendor`.
if failed:
return False
res = subprocess.run(