Skip to content

Commit 3dd6b3b

Browse files
authored
Merge pull request #20 from arran4/codex/wrap-loadconfigdir-with-unawaited
Handle async init for gcloud credential discovery
2 parents 61251cf + 171abd8 commit 3dd6b3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/datastoremain.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'dart:async';
12
import 'dart:convert';
23
import 'dart:io';
34

@@ -215,7 +216,7 @@ class GCloudCLICredentialDiscover {
215216
}
216217

217218
GCloudCLICredentialDiscover() {
218-
loadConfigDir();
219+
unawaited(loadConfigDir());
219220
}
220221

221222
Future<void> loadConfigDir() async {

0 commit comments

Comments
 (0)