aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2014-12-29 07:55:01 +0000
committerMike McQuaid2014-12-29 07:55:01 +0000
commit54feca3de21d336aa65bd91e7b1180587d66dc2c (patch)
treee21a0c64198e2a4bc5fd55394a171521c2099ed3 /Library/Homebrew/cmd
parent732bd23dd7fb249b21939dfb0a39420d915076ef (diff)
downloadhomebrew-54feca3de21d336aa65bd91e7b1180587d66dc2c.tar.bz2
test-bot: init added/modified formulae arrays.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index e27101e67..554b377a9 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -167,6 +167,8 @@ module Homebrew
@hash = nil
@url = nil
@formulae = []
+ @added_formulae = []
+ @modified_formula = []
@steps = []
@tap = tap
@repository = Homebrew.homebrew_git_repo @tap
@@ -308,8 +310,8 @@ module Homebrew
formula_path = "Library/Formula"
end
- @added_formulae = diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "A")
- @modified_formula = diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "M")
+ @added_formulae += diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "A")
+ @modified_formula += diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "M")
@formulae += @added_formulae + @modified_formula
end