lib/octokit/enterprise_admin_client.rb in octokit-4.3.0 vs lib/octokit/enterprise_admin_client.rb in octokit-4.4.0

- old
+ new

@@ -30,9 +30,11 @@ def initialize(options = {}) # Use options passed in, but fall back to module defaults Octokit::Configurable.keys.each do |key| instance_variable_set(:"@#{key}", options[key] || Octokit.instance_variable_get(:"@#{key}")) end + + login_from_netrc unless user_authenticated? || application_authenticated? end end end