summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-02 14:44:38 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-05 18:32:24 -0500
commit35e0cfbcb57d583d93789b7b7abc0fa62ccb95a3 (patch)
tree11088f4cb7a27b9ea565b74337b5a1abd4021e51
parentabeae826c9ec277a22c7cde6713b5a3654a54d42 (diff)
downloadbundler-35e0cfbcb57d583d93789b7b7abc0fa62ccb95a3.tar.gz
[Shell] Ensure debug? returns true or false and not nil
-rw-r--r--lib/bundler/ui/shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/ui/shell.rb b/lib/bundler/ui/shell.rb
index 195bd56a5c..a6fd6963ee 100644
--- a/lib/bundler/ui/shell.rb
+++ b/lib/bundler/ui/shell.rb
@@ -45,7 +45,7 @@ module Bundler
def debug?
# needs to be false instead of nil to be newline param to other methods
- level("debug")
+ level("debug") ? true : false
end
def quiet?