Commit aa6cc23b05a5f5f6f5e87fb9f62d62acc3f92929
1 parent
b3b149ad
Exists in
master
and in
1 other branch
Rubocop: removing space before , comma as it reads poorly
Showing
2 changed files
with
1 additions
and
7 deletions
Show diff stats
.rubocop_todo.yml
@@ -323,12 +323,6 @@ Style/SpaceAroundEqualsInParameterDefault: | @@ -323,12 +323,6 @@ Style/SpaceAroundEqualsInParameterDefault: | ||
323 | Style/SpaceBeforeBlockBraces: | 323 | Style/SpaceBeforeBlockBraces: |
324 | Enabled: false | 324 | Enabled: false |
325 | 325 | ||
326 | -# Offense count: 1 | ||
327 | -# Cop supports --auto-correct. | ||
328 | -Style/SpaceBeforeComma: | ||
329 | - Exclude: | ||
330 | - - 'app/decorators/backtrace_line_decorator.rb' | ||
331 | - | ||
332 | # Offense count: 3 | 326 | # Offense count: 3 |
333 | # Cop supports --auto-correct. | 327 | # Cop supports --auto-correct. |
334 | Style/SpaceBeforeComment: | 328 | Style/SpaceBeforeComment: |
app/decorators/backtrace_line_decorator.rb
@@ -79,7 +79,7 @@ private | @@ -79,7 +79,7 @@ private | ||
79 | 79 | ||
80 | def link_to_bitbucket(app, text = nil) | 80 | def link_to_bitbucket(app, text = nil) |
81 | return unless app.bitbucket_repo? | 81 | return unless app.bitbucket_repo? |
82 | - href = "%s#%s-%s" % [app.bitbucket_url_to_file(decorated_path + file_name), file_name , number] | 82 | + href = "%s#%s-%s" % [app.bitbucket_url_to_file(decorated_path + file_name), file_name, number] |
83 | h.link_to(text || file_name, href, :target => '_blank') | 83 | h.link_to(text || file_name, href, :target => '_blank') |
84 | end | 84 | end |
85 | 85 |