diff --git a/src/runner.rs b/src/runner.rs index 6ae6599e..afd77b80 100644 --- a/src/runner.rs +++ b/src/runner.rs @@ -58,7 +58,8 @@ pub fn run_err(command: &str, verbose: u8) -> Result<()> { } else { println!("{}", rtk); } - timer.track(command, "rtk run-err", &raw, &rtk); + let label = format!("rtk err {}", command); + timer.track(command, &label, &raw, &rtk); Ok(()) } @@ -99,7 +100,8 @@ pub fn run_test(command: &str, verbose: u8) -> Result<()> { } else { println!("{}", summary); } - timer.track(command, "rtk run-test", &raw, &summary); + let label = format!("rtk test {}", command); + timer.track(command, &label, &raw, &summary); Ok(()) }