Navigation Menu

Skip to content

Commit

Permalink
Array has no method ".zero?"
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 26, 2014
1 parent 0b891b6 commit 654ddf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/forwarder.rb
Expand Up @@ -55,7 +55,7 @@ def resume
return unless Path.buffer.exist?
Pathname.glob("#{Path.buffer}/*") do |path|
next unless path.directory?
next if Pathname.glob("#{path.to_s}/*").zero?
next if Pathname.glob("#{path.to_s}/*").empty?

destination = path.basename.to_s
next if @senders.key?(destination)
Expand Down

0 comments on commit 654ddf2

Please sign in to comment.