Enforce Rails-style (line-count-based) block style

This commit is contained in:
Benjamin Fleischer
2015-09-20 17:56:06 -05:00
parent aaa60bfdc1
commit ca6b193fcb
7 changed files with 23 additions and 28 deletions

View File

@@ -28,9 +28,9 @@ class CaptureWarnings
# rubocop:disable Metrics/AbcSize
def after_tests(lines)
app_warnings, other_warnings = lines.partition { |line|
app_warnings, other_warnings = lines.partition do |line|
line.include?(app_root) && !line.include?(bundle_dir)
}
end
header = "#{'-' * 22} app warnings: #{'-' * 22}"
output.puts