brew-test-bot: remove prefix from email subject.

This commit is contained in:
Mike McQuaid 2013-06-26 19:54:33 +01:00
parent dbc1df51f4
commit 4ae5ea7dbe

View File

@ -387,9 +387,9 @@ if ARGV.include? "--email"
end end
if failed_steps.empty? if failed_steps.empty?
email_subject = 'brew test-bot: PASSED' email_subject = 'PASSED'
else else
email_subject = "brew test-bot: FAILED: #{failed_steps.join ', '}" email_subject = "#{failed_steps.join ', '}"
end end
File.open "brew test-bot.email.txt", 'w' do |file| File.open "brew test-bot.email.txt", 'w' do |file|