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 68c7e75 commit 2a8437aCopy full SHA for 2a8437a
lib/bundler/source/git.rb
@@ -217,9 +217,11 @@ def install(spec, options = {})
217
end
218
219
def cache(spec, custom_path = nil)
220
- app_cache_path = app_cache_path(custom_path)
221
return unless Bundler.feature_flag.cache_all?
+
222
+ app_cache_path = app_cache_path(custom_path)
223
return if cache_path == app_cache_path
224
225
cached!
226
FileUtils.rm_rf(app_cache_path)
227
git_proxy.checkout if requires_checkout?
0 commit comments