summaryrefslogtreecommitdiff
path: root/lib/fileutils.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-03-09 09:42:40 -0700
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-12 18:38:47 +0900
commit7cddb844e6d51f954c6669341b9cc656bd7d3492 (patch)
tree53788343ab44c7068ef43e5e69470451e7a2f189 /lib/fileutils.rb
parente2678781c739edb17f1744d35a9958146e880996 (diff)
downloadruby-7cddb844e6d51f954c6669341b9cc656bd7d3492.tar.gz
[ruby/fileutils] Make verbose output go to stdout instead of stderr
Verbose output is not error output, and should be sent to stdout and not stderr. Fixes Ruby bug 4436 https://github.com/ruby/fileutils/commit/563a383025
Diffstat (limited to 'lib/fileutils.rb')
-rw-r--r--lib/fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 64f3ae6de9..56b0c1a555 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -1615,7 +1615,7 @@ module FileUtils
def fu_output_message(msg) #:nodoc:
output = @fileutils_output if defined?(@fileutils_output)
- output ||= $stderr
+ output ||= $stdout
if defined?(@fileutils_label)
msg = @fileutils_label + msg
end