lib/quality/tools/punchlist.rb in quality-27.3.0 vs lib/quality/tools/punchlist.rb in quality-27.3.1
- old
+ new
@@ -7,10 +7,10 @@
private
def punchlist_args
glob = "--glob '#{source_and_doc_files_glob}'"
regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp
- unless exclude_files.nil? || exclude_files.empty?
+ unless source_files_exclude_glob == '{}'
exclude = " --exclude-glob '#{source_files_exclude_glob}'"
end
args = glob
args += regexp if regexp