Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 5, 2021
1 parent e92b039 commit f0e3d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/report/normalize/stats/scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getMeasure = function (
kind,
{ stats: { [name]: stat, mean, meanMin, median } },
) {
if (!MEDIAN_KINDS.has(kind)) {
if (!MEAN_KINDS.has(kind)) {
return stat
}

Expand All @@ -43,7 +43,7 @@ const getMeasure = function (
return median
}

const MEDIAN_KINDS = new Set(['duration'])
const MEAN_KINDS = new Set(['duration'])

// Some measures might be `0`, although unlikely. We do not them since they are
// not a good indicator of minimum precision for scales.
Expand Down

0 comments on commit f0e3d00

Please sign in to comment.