summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-10 21:02:25 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-14 00:45:08 +0100
commit42251e5e2ae89f1086ab9f3ebd140a8cf3c4c3ac (patch)
tree7a9f96df32bdad444eb09307015dae9b200369ce
parentccb5eae03bb29f167dd165c7ad14b3254fc53912 (diff)
downloadbundler-42251e5e2ae89f1086ab9f3ebd140a8cf3c4c3ac.tar.gz
Print git errors to a consistent stream
-rw-r--r--lib/bundler/source/git/git_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb
index cd964f7e56..3db31f0237 100644
--- a/lib/bundler/source/git/git_proxy.rb
+++ b/lib/bundler/source/git/git_proxy.rb
@@ -253,7 +253,7 @@ module Bundler
ensure
STDERR.reopen backup_stderr
end
- $stderr.puts URICredentialsFilter.credential_filtered_string(captured_err, uri) if uri && !captured_err.empty?
+ Bundler.ui.warn URICredentialsFilter.credential_filtered_string(captured_err, uri) if uri && !captured_err.empty?
return_value
end
end