chore(release) fix errors

This commit is contained in:
2022-12-19 09:59:49 +01:00
parent 0408fe856d
commit 64897d32e4
8 changed files with 72 additions and 9 deletions

View File

@@ -2,14 +2,13 @@ pub struct Perf;
impl Perf {
fn run() -> eyre::Result<()> {
if let Err(_) = util::shell::run_with_input_and_output(&["bottom", "--version"], "".into())
{
if let Err(_) = util::shell::run_with_input_and_output(&["btm", "--version"], "".into()) {
return Err(eyre::anyhow!(
"could not find bottom, please install or add to PATH"
"could not find btm, please install or add to PATH"
));
}
util::shell::run(&["bottom"], None)?;
util::shell::run(&["btm"], None)?;
Ok(())
}