mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 11:27:52 +08:00
DEV: Update to lastest rubocop-discourse
This commit is contained in:

committed by
Loïc Guitaut

parent
3b6d4c830f
commit
2a28cda15c
@ -2,7 +2,7 @@
|
||||
|
||||
class FinalDestination::HTTP < Net::HTTP
|
||||
def connect
|
||||
raise ArgumentError.new("address cannot be nil or empty") unless @address.present?
|
||||
raise ArgumentError.new("address cannot be nil or empty") if @address.blank?
|
||||
|
||||
original_open_timeout = @open_timeout
|
||||
return super if @ipaddr
|
||||
|
Reference in New Issue
Block a user