lib/quality/tools/reek.rb in quality-14.0.0 vs lib/quality/tools/reek.rb in quality-14.1.0
- old
+ new
@@ -3,10 +3,10 @@
# Adds 'reek' tool support to quality gem
module Reek
private
def quality_reek
- args = "--single-line #{ruby_files}"
+ args = "--single-line #{ruby_files.join(' ')}"
ratchet_quality_cmd('reek',
args: args,
emacs_format: true,
gives_error_code_on_violations: true) do |line|
self.class.count_reek_violations(line)