aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-11 20:34:33 -0500
committerJack Nagel2014-07-11 20:34:33 -0500
commit10bafd62defd5f6b2de055448cb255e7a098c4ed (patch)
treea5f909c0d78928a37f320d04be57b937f852055b /Library
parent7360b9110d053bf19e07459c8facf9930f5be4a3 (diff)
downloadhomebrew-10bafd62defd5f6b2de055448cb255e7a098c4ed.tar.bz2
Remove dead code
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 9cdaf666e..ff96be59d 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -42,10 +42,10 @@ class Step
@time = 0
end
- def log_file_path full_path=true
+ def log_file_path
file = "#{@category}.#{@name}.txt"
- return file unless @test.log_root and full_path
- @test.log_root + file
+ root = @test.log_root
+ root ? root + file : file
end
def status_colour