Skip to content

Commit

Permalink
Update rubrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jules2689 authored Aug 17, 2020
1 parent 0ff45eb commit 8f876ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rubrics
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ parse_assignments assignments["team"]
parse_assignments assignments["user"]

worths = (assignments["team"] + assignments["user"]).map do |assignment|
next if assignment['bonus']
next 0 if assignment['bonus']
assignment['worth']
end
total_worth = worths.inject(:+)
Expand Down

0 comments on commit 8f876ad

Please sign in to comment.