summaryrefslogtreecommitdiff
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2021-03-17 13:36:04 +0100
committergit <[email protected]>2024-07-23 20:15:08 +0000
commit66e539418d15f3f00f7ec2cc7368494da7ca1ea5 (patch)
treebbc61e65483a5787d3909c9db7560205253899da /lib/bundler/source
parent0710e6080221d0512501973d9374274ee4f8a53b (diff)
[rubygems/rubygems] Prefer `install_path` alias
For consistency with the rest of usages in this class. https://github.com/rubygems/rubygems/commit/69f9ab34b1
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index 0a2d8b56b9..f4a73d927e 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -216,7 +216,7 @@ module Bundler
def cache(spec, custom_path = nil)
app_cache_path = app_cache_path(custom_path)
return unless Bundler.feature_flag.cache_all?
- return if path == app_cache_path
+ return if install_path == app_cache_path
cached!
FileUtils.rm_rf(app_cache_path)
git_proxy.checkout if requires_checkout?