Skip to content
Commit 5d090c7c authored by Dani Donisa's avatar Dani Donisa
Browse files

Fix fetching a nil sourcediff

This fixes an "undefined method `reduce' for nil:NilClass" error.

The fetch has a default option for when the `:sourcediff` key does not
exist, but if the sourcediff is actually nil, the reduce fails.

This PR adds a default empty array for the reduce to work.
parent 084c14c9
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