lib/quality/tools/scalastyle.rb in quality-27.0.0 vs lib/quality/tools/scalastyle.rb in quality-27.1.0

- old
+ new

@@ -5,10 +5,15 @@ # Adds 'scalastyle' tool support to quality gem module Scalastyle private def scalastyle_args - scala_files.join(' ') + c = " -c '#{scalastyle_config}' " if scalastyle_config + + args = '' + args += c if c + args += scala_files.join(' ') + args end def quality_scalastyle ratchet_quality_cmd('scalastyle', args: scalastyle_args,