lib/quality/tools/bigfiles.rb in quality-37.1.1 vs lib/quality/tools/bigfiles.rb in quality-38.0.0
- old
+ new
@@ -6,12 +6,10 @@
module Tools
# Adds 'bigfiles' tool support to quality gem
class Bigfiles < Tool
def bigfiles_args
args = ['--glob', "'#{source_and_doc_files_glob}'"]
- unless source_files_exclude_glob == '{}'
- args << ['--exclude-glob', "'#{source_files_exclude_glob}'"]
- end
+ args << ['--exclude-glob', "'#{source_files_exclude_glob}'"] unless source_files_exclude_glob == '{}'
args.join(' ')
end
def quality_bigfiles
ratchet_quality_cmd('bigfiles',