Skip to content

Commit

Permalink
wpt: extra check that wpt data is ok
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jun 20, 2019
1 parent c377290 commit e641b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/webpagetest/aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Aggregator {
);

forEach(viewData.custom, metricName => {
if (!isNaN(viewData[metricName])) {
if (!isNaN(viewData[metricName]) && viewData[metricName] !== null) {
statsHelpers.pushGroupStats(
this.customStats,
this.customGroups[group],
Expand Down

0 comments on commit e641b3c

Please sign in to comment.