lib/quality/tools/cane.rb in quality-21.0.4 vs lib/quality/tools/cane.rb in quality-21.0.5
- old
+ new
@@ -14,10 +14,10 @@
def cane_args
args = [
"-f '#{ruby_files_glob}'",
]
- args += cane_exclude_args if !exclude_files.empty?
+ args += cane_exclude_args unless exclude_files.empty?
args.join(' ')
end
def quality_cane
ratchet_quality_cmd('cane', gives_error_code_on_violations: true,