Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds score rounding to avoid floating point errors #473

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

jackbrewer
Copy link
Contributor

Closes https://github.com/netlify/netlify-plugin-lighthouse/issues/441 by adding Math.round to the places we normalize the decimal scores to percentages.

This isn't urgent so doesn't need a specific release, it can go out with the next round of changes

@jackbrewer jackbrewer self-assigned this Sep 27, 2022
@jackbrewer jackbrewer requested a review from a team September 27, 2022 10:55
@netlify
Copy link

netlify bot commented Sep 27, 2022

👷 Deploy Preview for plugin-lighthouse processing.

Name Link
🔨 Latest commit 812b05e
🔍 Latest deploy log https://app.netlify.com/sites/plugin-lighthouse/deploys/6332d6bf70286e0008023fc6

@jackbrewer jackbrewer merged commit 8b2f4cf into main Sep 28, 2022
@jackbrewer jackbrewer deleted the jbr/441/roundOutputValues branch September 28, 2022 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants