From 62a8d41bc4e3274f9f3b7ceab63a040912ee2bdc Mon Sep 17 00:00:00 2001 From: Mike Milner Date: Fri, 8 Jan 2016 13:17:49 -0500 Subject: [PATCH] Replace uninitialized constant --- lib/googleauth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/googleauth.rb b/lib/googleauth.rb index e364813..0e81d3e 100644 --- a/lib/googleauth.rb +++ b/lib/googleauth.rb @@ -70,7 +70,7 @@ END def self.read_creds env_var = CredentialsLoader::ACCOUNT_TYPE_VAR type = ENV[env_var] - fail "#{ACCOUNT_TYPE_VAR} is undefined in env" unless type + fail "#{env_var} is undefined in env" unless type case type when 'service_account' ServiceAccountCredentials