lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb in bundler-1.11.2 vs lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb in bundler-1.12.0.pre.1

- old
+ new

@@ -55,9 +55,10 @@ # By default, whether or not the `MOLINILLO_DEBUG` environment variable is # set. # # @return [Boolean] def debug? - @debug_mode ||= ENV['MOLINILLO_DEBUG'] + return @debug_mode if defined?(@debug_mode) + @debug_mode = ENV['MOLINILLO_DEBUG'] end end end