lib/travis/cli/api_command.rb in travis-1.8.9.travis.853.4 vs lib/travis/cli/api_command.rb in travis-1.8.9.travis.867.4
- old
+ new
@@ -106,10 +106,11 @@
endpoint = "https://#{domain}/api"
config['default_endpoint'] = endpoint if agree("Use #{color domain, :bold} as default endpoint? ") { |q| q.default = 'yes' }
endpoint
end
self.api_endpoint = c[enterprise_name]
- self.insecure = true if insecure.nil?
+ self.insecure = insecure unless insecure.nil?
+ self.session.ssl.delete :ca_file
endpoint_config['enterprise'] = true
@setup_ennterpise = true
end
def setup_enterprise?