Skip to content

Commit

Permalink
Update metrics.coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
dogweather authored Jun 7, 2024
1 parent f60799c commit c94eff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class App.Metrics
@repoEffectivenessIcon = (repo) ->
rating = @repoEffectiveness(repo)
return "fa-frown-o" if rating >= 0 and rating < 3
return "fa-meh-o" if rating >= 3 and rating < 4.5
return "fa-meh-o" if rating >= 3 and rating < 4.5
return "fa-smile-o" if rating >= 4.5 and rating < 7
return "fa-smile-o green-glow" if rating >= 7 and rating <= 10
throw new RangeError "Rating was #{rating}, but must be between 0 and 10"
Expand Down

0 comments on commit c94eff3

Please sign in to comment.