Commit 38a666e6 authored by Mike Greiling's avatar Mike Greiling

fix "Undefined method `+' for nil:NilClass" error

parent ae8ef069
......@@ -45,7 +45,7 @@ class Burndown
private
def sum_issues_weight(issues)
issues.map(&:weight).sum
issues.map(&:weight).compact.sum
end
def closed_and_reopened_issues_by(date)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment