lib/quality/command_output_processor.rb in quality-37.1.1 vs lib/quality/command_output_processor.rb in quality-38.0.0
- old
+ new
@@ -21,12 +21,10 @@
private
def process_file(file, &count_violations_on_line)
out = ''
- while (@current_line = file.gets)
- out += process_line(&count_violations_on_line)
- end
+ out += process_line(&count_violations_on_line) while (@current_line = file.gets)
out
end
def processed_output
if emacs_format