mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Rubocop update
This commit is contained in:
parent
4c981e736a
commit
e5d03e3cdf
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ module Depp
|
|||
|
||||
private
|
||||
|
||||
# rubocop:disable Metrics/AbcSize
|
||||
def validate_existance_in_server
|
||||
return if errors.any?
|
||||
res = server.open_connection
|
||||
|
@ -96,5 +97,6 @@ module Depp
|
|||
"port: #{ENV['epp_port']}, cert_path: #{ENV['cert_path']}, key_path: #{ENV['key_path']}"
|
||||
errors.add(:base, :invalid_cert)
|
||||
end
|
||||
# rubocop:enable Metrics/AbcSize
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue