Don't print a warning about cargo-update if cargo isn't installed (fix #630)
This commit is contained in:
@@ -16,6 +16,8 @@ use std::process::Command;
|
|||||||
use tempfile::tempfile_in;
|
use tempfile::tempfile_in;
|
||||||
|
|
||||||
pub fn run_cargo_update(run_type: RunType) -> Result<()> {
|
pub fn run_cargo_update(run_type: RunType) -> Result<()> {
|
||||||
|
utils::require("cargo")?;
|
||||||
|
|
||||||
print_separator("Cargo");
|
print_separator("Cargo");
|
||||||
|
|
||||||
let cargo_update = match utils::require("cargo-install-update") {
|
let cargo_update = match utils::require("cargo-install-update") {
|
||||||
|
|||||||
Reference in New Issue
Block a user