zachleat / speedlify

Benchmark the web performance and accessibility of sites over time.
https://www.speedlify.dev/
MIT License
922 stars 168 forks source link

Fix bug where times = 0 would still result in a 💯 #1

Closed polarbirke closed 4 years ago

polarbirke commented 4 years ago

Use a simple for loop instead of the original expression with an impromptu array, where str is always appended at least once, regardless of actual Lighthouse scores.

zachleat commented 4 years ago

Awesome, thanks!