summaryrefslogtreecommitdiff
path: root/lib/bundler/ui
diff options
context:
space:
mode:
authorGrey Baker <greysteil@gmail.com>2018-10-09 10:00:31 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:44:52 +0200
commitbb0e13d6070a3082b7ef59cd8c7284f988335e91 (patch)
treee1438467671791b6dfa05e733be66f20691c3c8e /lib/bundler/ui
parentabc29c377f24554f7d3101cd5fd081cb1ec33a11 (diff)
downloadbundler-bb0e13d6070a3082b7ef59cd8c7284f988335e91.tar.gz
Print errors to stderr by default, and remove configuration option
Diffstat (limited to 'lib/bundler/ui')
-rw-r--r--lib/bundler/ui/shell.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bundler/ui/shell.rb b/lib/bundler/ui/shell.rb
index 16e3d15713..7136fdfbf9 100644
--- a/lib/bundler/ui/shell.rb
+++ b/lib/bundler/ui/shell.rb
@@ -35,14 +35,12 @@ module Bundler
return if @warning_history.include? msg
@warning_history << msg
- return tell_err(msg, :yellow, newline) if Bundler.feature_flag.error_on_stderr?
- tell_me(msg, :yellow, newline)
+ tell_err(msg, :yellow, newline)
end
def error(msg, newline = nil)
return unless level("error")
- return tell_err(msg, :red, newline) if Bundler.feature_flag.error_on_stderr?
- tell_me(msg, :red, newline)
+ tell_err(msg, :red, newline)
end
def debug(msg, newline = nil)