Skip to content

Commit f0c797c

Browse files
committed
Remove debug output, fix emulatorOptions typo.
1 parent de0b1e3 commit f0c797c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/firestore/src/lite-api/database.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,8 @@ export function connectFirestoreEmulator(
328328
const settings = firestore._getSettings();
329329
const existingConfig = {
330330
...settings,
331-
emultorOptions: firestore._getEmulatorOptions()
331+
emulatorOptions: firestore._getEmulatorOptions()
332332
};
333-
334333
const newHostSetting = `${host}:${port}`;
335334
if (settings.host !== DEFAULT_HOST && settings.host !== newHostSetting) {
336335
logWarn(
@@ -344,14 +343,11 @@ export function connectFirestoreEmulator(
344343
ssl: false,
345344
emulatorOptions: options
346345
};
347-
348346
// No-op if the new configuration matches the current configuration. This supports SSR
349347
// enviornments which might call `connectFirestoreEmulator` multiple times as a standard practice.
350348
if (deepEqual(newConfig, existingConfig)) {
351-
console.error('DEDB settings are the same!');
352349
return;
353350
}
354-
console.error('DEDB settings differ!');
355351

356352
firestore._setSettings(newConfig);
357353

0 commit comments

Comments
 (0)