lib/ruby_indexer/lib/ruby_indexer/configuration.rb in ruby-lsp-0.14.5 vs lib/ruby_indexer/lib/ruby_indexer/configuration.rb in ruby-lsp-0.14.6
- old
+ new
@@ -18,10 +18,10 @@
sig { void }
def initialize
@excluded_gems = T.let(initial_excluded_gems, T::Array[String])
@included_gems = T.let([], T::Array[String])
- @excluded_patterns = T.let([File.join("**", "*_test.rb")], T::Array[String])
+ @excluded_patterns = T.let([File.join("**", "*_test.rb"), File.join("**", "tmp", "**", "*")], T::Array[String])
path = Bundler.settings["path"]
@excluded_patterns << File.join(File.expand_path(path, Dir.pwd), "**", "*.rb") if path
@included_patterns = T.let([File.join(Dir.pwd, "**", "*.rb")], T::Array[String])
@excluded_magic_comments = T.let(