Skip to content

Commit d5b2d45

Browse files
authored
Fix emulator env var name. (#305)
1 parent c6f8f97 commit d5b2d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/google/firebase/database/util/EmulatorHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ private EmulatorHelper() {
2929
}
3030

3131
@VisibleForTesting
32-
public static final String FIREBASE_RTDB_EMULATOR_HOST_ENV_VAR = "FIREBASE_RTDB_EMULATOR_HOST";
32+
public static final String FIREBASE_RTDB_EMULATOR_HOST_ENV_VAR =
33+
"FIREBASE_DATABASE_EMULATOR_HOST";
3334

3435
public static String getEmulatorHostFromEnv() {
3536
return System.getenv(FIREBASE_RTDB_EMULATOR_HOST_ENV_VAR);

0 commit comments

Comments
 (0)