lib/cc/cli/config_generator.rb in codeclimate-0.21.4 vs lib/cc/cli/config_generator.rb in codeclimate-0.22.0

- old
+ new

@@ -71,10 +71,10 @@ def non_excluded_paths @non_excluded_paths ||= begin excludes = exclude_paths.map { |path| path.chomp("/") } filesystem.ls.reject do |path| - path.starts_with?(".") || excludes.include?(path) + path.starts_with?("-") || path.starts_with?(".") || excludes.include?(path) end end end def workspace_files