Skip to content

Commit

Permalink
Allow overriding core doc cache directory (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
xeals authored and castwide committed Dec 31, 2018
1 parent 180fc18 commit 90530a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solargraph/yard_map/core_docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module CoreDocs

class << self
def cache_dir
@cache_dir ||= File.join(Dir.home, '.solargraph', 'cache')
@cache_dir ||= ENV["SOLARGRAPH_CACHE"] || File.join(Dir.home, '.solargraph', 'cache')
end

# Ensure installation of minimum documentation.
Expand Down

0 comments on commit 90530a4

Please sign in to comment.