Skip to content

Commit

Permalink
show brew error in red
Browse files Browse the repository at this point in the history
  • Loading branch information
oneElectron committed Nov 22, 2023
1 parent 74bf982 commit d5f3d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve/os_search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub(super) fn search_in_homebrew() -> Result<PathBuf, Error> {
}
let cellar_path = String::from_utf8(Command::new("brew").arg("--prefix").output().unwrap().stdout.to_vec());
if cellar_path.is_err() {
eprintln!("Failed to run brew --prefix and read the output");
println!("{}", console::style("Failed to run brew --prefix and read the output"));
return Err(Error::NotFound);
}

Expand Down

0 comments on commit d5f3d0c

Please sign in to comment.