Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix execution w/o host option

  • Loading branch information...
commit 1ee6a8fe33b8f4bdc93394d5fb631d8bd1853101 1 parent cdf643a
@lest lest authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/proxylocal/client.rb
View
2  lib/proxylocal/client.rb
@@ -31,7 +31,7 @@ def self.connect(options)
def initialize(options)
@options = options
- @reconnect = options[:hosts].any?
+ @reconnect = options[:hosts] && options[:hosts].any?
end
def send_options
Please sign in to comment.
Something went wrong with that request. Please try again.