lib/quality/tools/bigfiles.rb in quality-20.1.0 vs lib/quality/tools/bigfiles.rb in quality-20.1.1
- old
+ new
@@ -4,10 +4,10 @@
module Bigfiles
private
def bigfiles_args
args = ['--glob', "'#{source_files_glob}'"]
- if exclude_files.size > 0
+ if !exclude_files.empty?
args << ['--exclude-glob', "'#{source_files_exclude_glob}'"]
end
args.join(' ')
end