lib/quality/tools/punchlist.rb in quality-21.0.4 vs lib/quality/tools/punchlist.rb in quality-21.0.5

- old
+ new

@@ -5,10 +5,10 @@ private def punchlist_args glob = "--glob '#{source_and_doc_files_glob}'" regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp - if !exclude_files.empty? + unless exclude_files.empty? exclude = " --exclude-glob '#{source_files_exclude_glob}'" end args = glob args += regexp if regexp