aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/test-bot.rb
diff options
context:
space:
mode:
authorXu Cheng2015-12-19 19:10:22 +0800
committerXu Cheng2015-12-19 22:05:30 +0800
commit0f84b976bab94d66af1f8eb658b5ca824f8d49d4 (patch)
tree88c69232faf9d12f559b87249addad517df19fa9 /Library/Homebrew/cmd/test-bot.rb
parentf72d4f17221e2c313e7076ac0b7b79c0a76018dd (diff)
downloadbrew-0f84b976bab94d66af1f8eb658b5ca824f8d49d4.tar.bz2
move CoreFormulaRepository into separate file
For users whose local brew is at around 2015-06-11 to 2015-08-06, running `brew update` will emit following error: Error: uninitialized constant Formulary::CoreFormulaRepository This is caused by the same bug described in Homebrew/homebrew#42553. This commit workarounds this issue and restores `brew update` compatibility for users mentioned above. Also cleanup legacy `require "cmd/tap"`.
Diffstat (limited to 'Library/Homebrew/cmd/test-bot.rb')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index b6b167f3f..b297c71d8 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -29,7 +29,8 @@ require "date"
require "rexml/document"
require "rexml/xmldecl"
require "rexml/cdata"
-require "cmd/tap"
+require "tap"
+require "core_formula_repository"
module Homebrew
BYTES_IN_1_MEGABYTE = 1024*1024