Skip to content

Commit

Permalink
[ci][frontend] Apply Layout/BlockEndNewline cop
Browse files Browse the repository at this point in the history
Updated via rubocop's --auto-correct
  • Loading branch information
bgeuken committed Oct 12, 2017
1 parent 9237238 commit 4dee31e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ Layout/AlignParameters:
Exclude:
- 'src/api/app/views/statistics/rating.xml.builder'

# Offense count: 1
# Cop supports --auto-correct.
Layout/BlockEndNewline:
Exclude:
- 'src/api/app/views/source/productlist.xml.builder'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentOneStep, IndentationWidth.
Expand Down
3 changes: 2 additions & 1 deletion src/api/app/views/source/productlist.xml.builder
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ xml.productlist( count: @products.count ) do
@products.map { |p| xml.product(name: p.name, cpe: p.cpe,
originproject: p.package.project.name,
originpackage: p.package.name,
mtime: p.package.updated_at.to_i) }
mtime: p.package.updated_at.to_i)
}
end

0 comments on commit 4dee31e

Please sign in to comment.