lib/quality/tools/bigfiles.rb in quality-22.0.0 vs lib/quality/tools/bigfiles.rb in quality-23.0.0

- old
+ new

@@ -1,13 +1,15 @@ +# frozen_string_literal: true + module Quality module Tools # Adds 'bigfiles' tool support to quality gem module Bigfiles private def bigfiles_args - args = ['--glob', "'#{source_files_glob}'"] - if !exclude_files.empty? + args = ['--glob', "'#{source_and_doc_files_glob}'"] + unless source_files_exclude_glob == '{}' args << ['--exclude-glob', "'#{source_files_exclude_glob}'"] end args.join(' ') end