lib/dri/commands/fetch/failures.rb in dri-0.10.0 vs lib/dri/commands/fetch/failures.rb in dri-0.10.1

- old
+ new

@@ -80,11 +80,11 @@ if emoji_awards triaged = add_color('✓', :green) triaged_counter += 1 end - sorted_failures << { title: title, triaged: triaged, environment: envs.first, author: author, url: url, - updated_at: updated_at } + sorted_failures << { title: title, triaged: triaged, environment: envs.first || 'none', author: author, + url: url, updated_at: updated_at } end sorted_failures.sort_by! { |failure| failure[@options[:sort_by]&.to_sym || :environment] } end