summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/cli/config.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/cli/config.rb b/lib/bundler/cli/config.rb
index 8248e3b15b..976cda7484 100644
--- a/lib/bundler/cli/config.rb
+++ b/lib/bundler/cli/config.rb
@@ -97,10 +97,10 @@ module Bundler
confirm(name)
end
- if current_value
- return
- else
+ if current_value.nil?
exit 1
+ else
+ return
end
end