Skip to content

Commit

Permalink
Fix "miliseconds" typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax committed Jan 29, 2024
1 parent 338e605 commit b7fe2e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libherokubuildpack/src/output/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,15 @@ pub(crate) mod time {
let hours = hours(duration);
let minutes = minutes(duration);
let seconds = seconds(duration);
let miliseconds = milliseconds(duration);
let milliseconds = milliseconds(duration);

if hours > 0 {
format!("{hours}h {minutes}m {seconds}s")
} else if minutes > 0 {
format!("{minutes}m {seconds}s")
} else if seconds > 0 || miliseconds > 100 {
} else if seconds > 0 || milliseconds > 100 {
// 0.1
format!("{seconds}.{miliseconds:0>3}s")
format!("{seconds}.{milliseconds:0>3}s")
} else {
String::from("< 0.1s")
}
Expand Down

0 comments on commit b7fe2e6

Please sign in to comment.