Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 9, 2022
1 parent 0681ea7 commit 0452a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/history/compare/limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const getLimitError = function ({
const diffLimitStr = Math.abs(diffLimit) * PERCENTAGE_RATIO
const diffStr = serializeDiff(diff.raw)
const higherStr = isPositiveLimit(diffLimit) ? 'higher' : 'lower'
return `${combinationPrefix}The combination should be at most ${diffLimitStr}% ${higherStr} but it is ${diffStr}% ${higherStr}.`
return `${combinationPrefix}The duration should be at most ${diffLimitStr}% ${higherStr} but it is ${diffStr}% ${higherStr}.`
}

const serializeDiff = function (diff) {
Expand Down

0 comments on commit 0452a87

Please sign in to comment.