Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
remove unnecessary '|| nil'
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Jul 17, 2012
1 parent 1bd97f3 commit 8570961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Expand Up @@ -663,7 +663,7 @@ def platform

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 " \
Expand Down

0 comments on commit 8570961

Please sign in to comment.