Skip to content
Snippets Groups Projects
Commit 8ac73862 authored by Tristan Read's avatar Tristan Read :three:
Browse files

Fix rubocop errors

parent c58ec9d8
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !109293. Comments created here will be created in the context of that merge request.
......@@ -13,9 +13,11 @@ def execute
collection = incident.incident_management_timeline_events
# rubocop:disable Rails/Output
puts 'START'
puts collection.filter_map{|event| event.timeline_event_tags if !event.timeline_event_tags.empty? }.to_yaml
puts collection.filter_map { |event| event.timeline_event_tags unless event.timeline_event_tags.empty? }.to_yaml
puts 'END'
# rubocop:enable Rails/Output
collection = by_id(collection)
sort(collection)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment