Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fixed 1.9 bug caused by differences between Hash#find_all and Hash#…

…select. (semaperepelitsa)

[git-p4: depot-paths = "//src/ZenTest/dev/": change = 7482]
  • Loading branch information...
commit d6a16dae3a0258f3a85ad187dbb7936e84891655 1 parent 2beb1ec
@zenspider zenspider authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/autotest/restart.rb
View
4 lib/autotest/restart.rb
@@ -7,8 +7,8 @@ module Autotest::Restart
false
end
- Autotest.add_hook :updated do |at, *args|
- unless args.flatten.grep(/\.autotest$/).empty? then
+ Autotest.add_hook :updated do |at, found|
+ unless found.flatten.grep(/\.autotest$/).empty? then
warn "Detected change to .autotest, restarting"
at.restart
end
Please sign in to comment.
Something went wrong with that request. Please try again.