We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#to_spec #=> nil
RubyIndexer::Configuration
1 parent a1977a7 commit 14862a9Copy full SHA for 14862a9
lib/ruby_indexer/lib/ruby_indexer/configuration.rb
@@ -193,7 +193,7 @@ def initial_excluded_gems
193
# When working on a gem, we need to make sure that its gemspec dependencies can't be excluded. This is necessary
194
# because Bundler doesn't assign groups to gemspec dependencies
195
this_gem = Bundler.definition.dependencies.find do |d|
196
- d.to_spec.full_gem_path == Dir.pwd
+ d.to_spec&.full_gem_path == Dir.pwd
197
rescue Gem::MissingSpecError
198
false
199
end
0 commit comments