e33f5df518
This change makes sure that Guard implementation can just `throw :task_has_failed` without knowing whether the enclosing group has enabled :halt_on_fail. The problem with throw/catch is, that when you throw a :symbol, you'll have to catch it, otherwise you get a 'uncatched throw' error. When the Guard group has not enabled :halt_on_fail, we catch the throw when execute the supervised task. |
||
---|---|---|
.. | ||
guard | ||
guard.rb |