diff --git a/lib/lighthouse/ticket.rb b/lib/lighthouse/ticket.rb index 066bc40..b98ba54 100644 --- a/lib/lighthouse/ticket.rb +++ b/lib/lighthouse/ticket.rb @@ -81,7 +81,7 @@ def parse_with_spaces(list) end def cleanup_tags(tags) - returning tags do |tag| + tags.tap do |tag| tag.collect! do |t| unless tag.blank? t = Tag.new(t,prefix_options[:project_id])