We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4f2b9 commit 35e6545Copy full SHA for 35e6545
packages/database/src/api/Database.ts
@@ -353,8 +353,8 @@ export function connectDatabaseEmulator(
353
const hostAndPort = `${host}:${port}`;
354
const repo = db._repoInternal;
355
if (db._instanceStarted) {
356
- // If the instance has already been started, and this function is called again with the same
357
- // parameters, then silently return. If the parameters differ then assert.
+ // If the instance has already been started, then silenty fail if this function is called again
+ // with the same parameters. If the parameters differ then assert.
358
if (
359
hostAndPort === repo.repoInfo_.host &&
360
deepEqual(options, repo.repoInfo_.emulatorOptions)
0 commit comments