From f906d13ef29c102839fd55250adbb01109e8404d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 11 Jul 2014 20:34:33 -0500 Subject: [PATCH] Remove dead code --- Library/Contributions/cmd/brew-test-bot.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 9cdaf666e8..ff96be59d9 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