Skip to content

Commit ee94d57

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent c243b26 commit ee94d57

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

packages/firestore/src/core/sync_engine.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ export class SyncEngine implements RemoteSyncer, SharedClientStateSyncer {
855855
}
856856

857857
// PORTING NOTE: Multi-tab only.
858-
private resetLimboDocuments() : void {
858+
private resetLimboDocuments(): void {
859859
objUtils.forEachNumber(this.limboKeysByTarget, targetId => {
860860
this.remoteStore.unlisten(targetId);
861861
});
@@ -870,7 +870,9 @@ export class SyncEngine implements RemoteSyncer, SharedClientStateSyncer {
870870
* Raises snapshots for any changes that affect the current client.
871871
*/
872872
// PORTING NOTE: Multi-tab only.
873-
private synchronizeQueryViewsAndRaiseSnapshots(targets: TargetId[]): Promise<QueryData[]> {
873+
private synchronizeQueryViewsAndRaiseSnapshots(
874+
targets: TargetId[]
875+
): Promise<QueryData[]> {
874876
let p = Promise.resolve();
875877
const activeQueries: QueryData[] = [];
876878
for (const targetId of targets) {
@@ -921,10 +923,7 @@ export class SyncEngine implements RemoteSyncer, SharedClientStateSyncer {
921923
if (this.isPrimary) {
922924
// If we receive a target state notification via WebStorage, we are
923925
// either already secondary or another tab has taken the primary lease.
924-
log.debug(
925-
LOG_TAG,
926-
'Ignoring unexpected query state notification.'
927-
);
926+
log.debug(LOG_TAG, 'Ignoring unexpected query state notification.');
928927
return;
929928
}
930929

packages/firestore/src/local/indexeddb_persistence.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ export class IndexedDbPersistence implements Persistence {
734734
}
735735
}
736736

737-
export function isPrimaryLeaseLostError(err: FirestoreError) : boolean {
737+
export function isPrimaryLeaseLostError(err: FirestoreError): boolean {
738738
return (
739739
err.code === Code.FAILED_PRECONDITION &&
740740
err.message === PRIMARY_LEASE_LOST_ERROR_MSG

0 commit comments

Comments
 (0)