lib/quality/tools/punchlist.rb in quality-14.0.0 vs lib/quality/tools/punchlist.rb in quality-14.1.0

- old
+ new

@@ -5,12 +5,16 @@ private def punchlist_args glob = "--glob '#{source_files_glob}'" regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp + if exclude_files.size > 0 + exclude = " --exclude-glob '#{source_files_exclude_glob}'" + end args = glob args += regexp if regexp + args += exclude if exclude args end def quality_punchlist ratchet_quality_cmd('punchlist',