lib/googleauth/credentials.rb in googleauth-0.9.0 vs lib/googleauth/credentials.rb in googleauth-0.10.0
- old
+ new
@@ -255,9 +255,12 @@
@client = init_client json, options
end
CredentialsLoader.warn_if_cloud_sdk_credentials @client.client_id
@project_id ||= CredentialsLoader.load_gcloud_project_id
@client.fetch_access_token!
+ @env_vars = nil
+ @paths = nil
+ @scope = nil
end
# rubocop:enable Metrics/AbcSize
##
# Creates a new Credentials instance with auth credentials acquired by searching the