Permalink
Browse files

Closes #100

  • Loading branch information...
1 parent 8622ba5 commit 694664ced88189ed843c956d745f2c149545fcf3 @thibaudgg thibaudgg committed Jul 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/dsl.rb
View
@@ -9,7 +9,7 @@ def evaluate_guardfile(options = {})
@@options = options.dup
instance_eval_guardfile(fetch_guardfile_contents)
- UI.error "No guards found in Guardfile, please add at least one." if ::Guard.guards.nil? || ::Guard.guards.empty?
+ UI.error "No guards found in Guardfile, please add at least one." if !::Guard.guards.nil? && ::Guard.guards.empty?
end
def revaluate_guardfile

0 comments on commit 694664c

Please sign in to comment.