1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Prefer feature flag to harcoded check

https://github.com/bundler/bundler/commit/8c83921d08
This commit is contained in:
David Rodríguez 2019-07-23 16:23:45 +02:00 committed by Hiroshi SHIBATA
parent 76d205c840
commit 30d10be036
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -34,7 +34,7 @@ module Bundler
end
def setup_cache_all
all = options.fetch(:all, Bundler.feature_flag.bundler_3_mode? || nil)
all = options.fetch(:all, Bundler.feature_flag.cache_all? || nil)
Bundler.settings.set_command_option_if_given :cache_all, all