diff options
| author | Andrew Janke | 2016-07-05 10:50:35 -0400 |
|---|---|---|
| committer | Andrew Janke | 2016-07-05 10:50:35 -0400 |
| commit | 61ffa47fd9dc179ddff792db1dc6f55464f6c16b (patch) | |
| tree | 6ae80066000922ed2532c3c41791c143471b0cc2 /Library | |
| parent | f518f57bd8c9ff864dc23911fac59f10995302b9 (diff) | |
| download | brew-61ffa47fd9dc179ddff792db1dc6f55464f6c16b.tar.bz2 | |
test-bot: fix ruby_has_encoding call regression
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/test-bot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index 296d52f7b..b09d2608a 100644 --- a/Library/Homebrew/dev-cmd/test-bot.rb +++ b/Library/Homebrew/dev-cmd/test-bot.rb @@ -177,7 +177,7 @@ module Homebrew verbose = ARGV.verbose? # Step may produce arbitrary output and we read it bytewise, so must # 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) read, write = IO.pipe |
