Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove extraenous rescue.

  • Loading branch information...
commit 2861ff60646881fde7a37c5c698cbb0e55f5a276 1 parent 5ccd346
@mcolyer mcolyer authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/config/patterns/script.rb
View
7 lib/config/patterns/script.rb
@@ -34,12 +34,7 @@ def destroy
def should_run?
return true unless only_if
-
- begin
- evaluate(only_if)
- rescue Config::Error
- false
- end
+ evaluate(only_if)
end
def evaluate(code)
Please sign in to comment.
Something went wrong with that request. Please try again.