Skip to content

Commit 68c7e75

Browse files
deivid-rodriguezmatzbot
authored andcommitted
[rubygems/rubygems] Remove unnecessary early return
These are never equal. rubygems/rubygems@69e369da74
1 parent 34f6334 commit 68c7e75

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/bundler/source/git.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ def install(spec, options = {})
219219
def cache(spec, custom_path = nil)
220220
app_cache_path = app_cache_path(custom_path)
221221
return unless Bundler.feature_flag.cache_all?
222-
return if install_path == app_cache_path
223222
return if cache_path == app_cache_path
224223
cached!
225224
FileUtils.rm_rf(app_cache_path)

0 commit comments

Comments
 (0)