lib/quality/rake/config.rb in quality-8.1.0 vs lib/quality/rake/config.rb in quality-8.1.1
- old
+ new
@@ -68,11 +68,14 @@
"#{ruby_file_extensions},swift,cpp,c,java,py,clj,cljs,scala,js"
end
def source_files_glob(dirs = source_dirs,
extensions = source_file_extensions)
- File.join("{#{dirs.join(',')}}", '**',
- "{#{extra_files.join(',')},*.{#{extensions}}}")
+ "{#{extra_files.join(',')}," +
+ File.join("{#{dirs.join(',')}}",
+ '**',
+ "*.{#{extensions}}") +
+ '}'
end
def ruby_file_extensions
'rb,rake'
end