depcheck: Fix command to update crates.io index

This commit is contained in:
2022-01-22 10:54:40 +01:00
parent 9b64de7991
commit 4e4de95a07

View File

@@ -39,7 +39,7 @@ update_necessary = False
# This updates the crates.io index, see https://github.com/rust-lang/cargo/issues/3377 # This updates the crates.io index, see https://github.com/rust-lang/cargo/issues/3377
subprocess.run( subprocess.run(
["cargo", "search", "--limit", "0"], ["cargo", "update", "--dry-run"],
check=True, check=True,
capture_output=False, # to get some git output capture_output=False, # to get some git output
) )