summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2012-07-17 04:07:15 -0500
committerTerence Lee <hone02@gmail.com>2012-07-17 04:07:15 -0500
commit8570961ec1f2332b3065eb1b3265100651230ec3 (patch)
treefba336d084e0181cb99500a0f7d494d74769288a
parent1bd97f3c13c6a7d92d6b8eb62d8644400a06d21a (diff)
downloadbundler-8570961ec1f2332b3065eb1b3265100651230ec3.tar.gz
remove unnecessary '|| nil'
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index dda4431921..0c72cb0447 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -663,7 +663,7 @@ module Bundler
def setup_cache_all
if options.key?("all")
- Bundler.settings[:cache_all] = options[:all] || nil
+ Bundler.settings[:cache_all] = options[:all]
elsif Bundler.definition.sources.any? { |s| !s.is_a?(Source::Rubygems) }
Bundler.ui.warn "Your Gemfile contains path and git dependencies. If you want " \
"to package them as well, please pass the --all flag. This will be the default " \