Skip to content

Commit

Permalink
Also handle decimals for GWV (#4014)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Nov 29, 2023
1 parent 22a567e commit 4cd5158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/compare/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function getGoogleWebVitals(data) {
if (!googleWebVitalsMetrics[name]) {
googleWebVitalsMetrics[name] = [];
}
googleWebVitalsMetrics[name].push(value);
googleWebVitalsMetrics[name].push(decimals(value));
}
}

Expand Down

0 comments on commit 4cd5158

Please sign in to comment.