Skip to content

Commit abe418f

Browse files
Update lib/src/common/environment.dart
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 0fdbf4d commit abe418f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/common/environment.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class FirebaseEnv {
7575
String get projectId {
7676
for (final option in _projectIdEnvKeyOptions) {
7777
final value = environment[option];
78-
if (value != null) return value;
78+
if (value != null && value.isNotEmpty) return value;
7979
}
8080

8181
throw StateError(

0 commit comments

Comments
 (0)