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.
1 parent 5b88684 commit 18cb850Copy full SHA for 18cb850
1 file changed
lib/solargraph/yardoc.rb
@@ -35,7 +35,7 @@ def cached?(gemspec)
35
# @param gemspec [Gem::Specification]
36
# @return [String]
37
def path_for(gemspec)
38
- File.join(Solargraph::Cache.work_dir, 'gems', "#{gemspec.name}-#{gemspec.version}.yardoc")
+ File.join(Solargraph::Cache.base_dir, "yard-#{YARD::VERSION}", "#{gemspec.name}-#{gemspec.version}.yardoc")
39
end
40
41
# Load a gem's yardoc and return its code objects.
0 commit comments