lib/quality/quality_checker.rb in quality-18.0.0 vs lib/quality/quality_checker.rb in quality-18.0.1
- old
+ new
@@ -41,10 +41,10 @@
exit_status = run_command(processor, &count_violations_on_line)
[processor, exit_status]
end
def run_command(processor, &count_violations_on_line)
- runner = @process_class.new(full_cmd)
+ runner = @process_class.new(full_cmd + ' 2>&1')
puts full_cmd if @verbose
runner.run do |file|
processor.file = file
@command_output = processor.process(&count_violations_on_line)