Skip to content

Commit

Permalink
Enable Layout/MultilineOperationIndentation
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Jun 11, 2018
1 parent c9c2d0d commit a6c4a53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ Layout/EmptyLineAfterMagicComment:
Enabled: false
Layout/IndentHeredoc:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Layout/SpaceBeforeComma:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Expand Down
4 changes: 2 additions & 2 deletions lib/ridgepole/dumper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def dump

dsl = stream.string.lines.select do |line|
line !~ /\A#/ &&
line !~ /\AActiveRecord::Schema\.define/ &&
line !~ /\Aend/
line !~ /\AActiveRecord::Schema\.define/ &&
line !~ /\Aend/
end

dsl = dsl.join.strip_heredoc
Expand Down

0 comments on commit a6c4a53

Please sign in to comment.