Skip to content

Commit

Permalink
Limit number of decimal places to 2 on usage formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
joac committed Sep 8, 2021
1 parent e65c7bd commit dfcf587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatter/usage_formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class UsageFormatter extends Formatter {
col2.push(
`${messages.TimeConversion.durationToMilliseconds(
match.duration
).toString()}ms`
).toFixed(2)}ms`
)
} else {
col2.push('-')
Expand Down

0 comments on commit dfcf587

Please sign in to comment.