aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
authorJack Nagel2013-12-09 13:44:45 -0600
committerJack Nagel2013-12-09 13:44:45 -0600
commit109e9dc58bb71d9b17c10c28d434556b56c08b1c (patch)
tree1769c553361f70c02bda0de66599b66d19e8b2ff /Library/Contributions
parent08ff164edd5fa33f8cfa93a83dbc5bdad9975275 (diff)
downloadbrew-109e9dc58bb71d9b17c10c28d434556b56c08b1c.tar.bz2
Silence some Ruby 2.1 warnings
Diffstat (limited to 'Library/Contributions')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 6e0ee2ac3..c180db643 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -98,7 +98,7 @@ class Step
@status = success ? :passed : :failed
puts_result
- return unless File.exists?(log_file_path)
+ return unless File.exist?(log_file_path)
@output = IO.read(log_file_path)
if has_output? and (not success or @puts_output_on_success)
puts @output