Skip to content

Commit

Permalink
Output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Jul 11, 2023
1 parent e82195c commit 196d967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub mod helpers {

pub fn validate_candidate(all_candidates: Vec<&str>, candidate: &str) -> String {
if !all_candidates.contains(&candidate) {
eprint!("{} is not a valid candidate.", candidate.bold());
eprintln!("{} is not a valid candidate.", candidate.bold());
process::exit(1);
} else {
candidate.to_string()
Expand All @@ -78,7 +78,7 @@ pub mod helpers {
if version_path.exists() && version_path.is_dir() {
version_path
} else {
eprint!(
eprintln!(
"{} {} is not installed on your system",
candidate.bold(),
version.bold()
Expand Down

0 comments on commit 196d967

Please sign in to comment.