lib/quality/tools/scalastyle.rb in quality-27.1.1 vs lib/quality/tools/scalastyle.rb in quality-27.2.0
- old
+ new
@@ -6,12 +6,13 @@
module Scalastyle
private
def scalastyle_args
c = " -c '#{scalastyle_config}' " if scalastyle_config
-
+ x = " -x '#{scalastyle_exclude}' " if scalastyle_exclude
args = ''
args += c if c
+ args += x if x
args += scala_files.join(' ')
args
end
def quality_scalastyle