Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Don't print a warning about cargo-update if cargo isn't installed (fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r-darwish committed Feb 13, 2021
1 parent 5a9e7b1 commit dbcbd3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ use std::process::Command;
use tempfile::tempfile_in;

pub fn run_cargo_update(run_type: RunType) -> Result<()> {
utils::require("cargo")?;

print_separator("Cargo");

let cargo_update = match utils::require("cargo-install-update") {
Expand Down

0 comments on commit dbcbd3d

Please sign in to comment.