Skip to content

Commit 35e6545

Browse files
committed
update comment in connectDatabaseEmulator
1 parent fc4f2b9 commit 35e6545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/database/src/api/Database.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ export function connectDatabaseEmulator(
353353
const hostAndPort = `${host}:${port}`;
354354
const repo = db._repoInternal;
355355
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.
356+
// If the instance has already been started, then silenty fail if this function is called again
357+
// with the same parameters. If the parameters differ then assert.
358358
if (
359359
hostAndPort === repo.repoInfo_.host &&
360360
deepEqual(options, repo.repoInfo_.emulatorOptions)

0 commit comments

Comments
 (0)