lib/right_chimp/Chimp.rb in right_chimp-2.0 vs lib/right_chimp/Chimp.rb in right_chimp-2.0.1
- old
+ new
@@ -195,10 +195,10 @@
end
#
# Exit early if there is nothing to do
#
- if @action == :action_none or queue.group[@group].size == 0
+ if @action == :action_none or ( queue.group[@group].nil? || queue.group[@group].size == 0)
puts "No actions to perform." unless self.quiet
else
do_work
end
end