lib/bundler/source/git.rb in bundler-2.5.20 vs lib/bundler/source/git.rb in bundler-2.5.21
- old
+ new
@@ -189,10 +189,10 @@
def specs(*)
set_up_app_cache!(app_cache_path) if use_app_cache?
if requires_checkout? && !@copied
- FileUtils.rm_rf(app_cache_path) if use_app_cache? && git_proxy.not_a_bare_repository?
+ FileUtils.rm_rf(app_cache_path) if use_app_cache? && git_proxy.not_a_repository?
fetch
checkout
end