Commit 92035d31261e7b2e173d344d61d7ebeeb6837e40

Authored by Laust Rud Jacobsen
1 parent 0ee11474
Exists in master and in 1 other branch production

Rubocop: remove semicolon as expression separator

.rubocop_todo.yml
... ... @@ -229,14 +229,6 @@ Style/RegexpLiteral:
229 229 - 'config/initializers/ssl_enforcer.rb'
230 230 - 'config/load.rb'
231 231  
232   -# Offense count: 2
233   -# Cop supports --auto-correct.
234   -# Configuration parameters: AllowAsExpressionSeparator.
235   -Style/Semicolon:
236   - Exclude:
237   - - 'app/decorators/issue_tracker_type_decorator.rb'
238   - - 'app/models/notice_fingerprinter.rb'
239   -
240 232 # Offense count: 1
241 233 # Configuration parameters: Methods.
242 234 Style/SingleLineBlockParams:
... ...
app/decorators/issue_tracker_type_decorator.rb
... ... @@ -7,7 +7,8 @@ class IssueTrackerTypeDecorator < Draper::Decorator
7 7 return unless object.icons
8 8  
9 9 object.icons.reduce({}) do |c, (k, v)|
10   - c[k] = "data:#{v[0]};base64,#{Base64.encode64(v[1])}"; c
  10 + c[k] = "data:#{v[0]};base64,#{Base64.encode64(v[1])}"
  11 + c
11 12 end
12 13 end
13 14  
... ...