From 1c820572fbede581fff4d8613062c350cfcc90f9 Mon Sep 17 00:00:00 2001 From: Tim Whiting Date: Wed, 2 Feb 2022 13:40:22 -0700 Subject: [PATCH] fix issues on windows --- lib/src/credential.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/credential.dart b/lib/src/credential.dart index d80c2fb..63f5f98 100644 --- a/lib/src/credential.dart +++ b/lib/src/credential.dart @@ -97,7 +97,7 @@ class Credentials { static String? get _gcloudCredentialPath { var config = _configDir; if (config == null) return null; - return path.join(config, 'gcloud/application_default_credentials.json'); + return path.join(config, 'gcloud', 'application_default_credentials.json'); } /// The path where credentials obtained by doing [Credentials.login] are @@ -110,7 +110,7 @@ class Credentials { var config = _configDir; if (config == null) return null; return path.join( - config, 'firebase_admin/application_default_credentials.json'); + config, 'firebase_admin', 'application_default_credentials.json'); } static String? get _configDir {