diff options
| author | Jack Nagel | 2014-07-11 20:34:33 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-11 20:34:33 -0500 |
| commit | f906d13ef29c102839fd55250adbb01109e8404d (patch) | |
| tree | 0315692adca34e4106ebe1983a9ceff8747aea19 /Library | |
| parent | a2ef43b2a4fa1ec7925c70d3221f4d16dacdf243 (diff) | |
| download | brew-f906d13ef29c102839fd55250adbb01109e8404d.tar.bz2 | |
Remove dead code
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 6 |
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 |
