Skip to content

Commit

Permalink
(maint) Add rubocop exclusion
Browse files Browse the repository at this point in the history
Rubocop is triggering on a valid ssl_version
  • Loading branch information
david22swan committed Sep 16, 2024
1 parent a7600c2 commit d96fd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdk/util/vendored_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def download_file
uri = URI.parse(url)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.ssl_version = :TLSv1_2
http.ssl_version = :TLSv1_2 # rubocop:disable Naming/VariableNumber
http.ca_file = @config['ssl-ca-cert']
http.cert = OpenSSL::X509::Certificate.new(ssl_cert)
http.key = OpenSSL::PKey::RSA.new(ssl_key)
Expand Down

0 comments on commit d96fd49

Please sign in to comment.