Skip to content

Commit

Permalink
fixing weird bug with board
Browse files Browse the repository at this point in the history
closes huboard#39
  • Loading branch information
rauhryan committed Jan 28, 2012
1 parent 3a2531c commit 2eaebe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stint/stint/lib/stint/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def milestones(user_name, repo)
issues: issues
}
end
reply.sort_by {|m| m[:due_on]}

reply.first.nil? ? [] : reply.sort_by {|m| m[:due_on]}
end

def get_issues(user_name, repo)
Expand Down

0 comments on commit 2eaebe2

Please sign in to comment.