lib/quality/tools/punchlist.rb in quality-20.1.0 vs lib/quality/tools/punchlist.rb in quality-20.1.1

- 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.size > 0 + if !exclude_files.empty? exclude = " --exclude-glob '#{source_files_exclude_glob}'" end args = glob args += regexp if regexp