Skip to content
Snippets Groups Projects
Commit 61ffa47f authored by Andrew Janke's avatar Andrew Janke
Browse files

test-bot: fix ruby_has_encoding call regression

parent f518f57b
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ module Homebrew ...@@ -177,7 +177,7 @@ module Homebrew
verbose = ARGV.verbose? verbose = ARGV.verbose?
# Step may produce arbitrary output and we read it bytewise, so must # Step may produce arbitrary output and we read it bytewise, so must
# buffer it as binary and convert to UTF-8 once complete # buffer it as binary and convert to UTF-8 once complete
output = Homebrew.ruby_has_encoding? ? "".encode!("BINARY") : "" output = ruby_has_encoding? ? "".encode!("BINARY") : ""
working_dir = Pathname.new(@command.first == "git" ? @repository : Dir.pwd) working_dir = Pathname.new(@command.first == "git" ? @repository : Dir.pwd)
read, write = IO.pipe read, write = IO.pipe
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment