Skip to content

Commit 8bac951

Browse files
committed
yarn format
1 parent 70a5a5c commit 8bac951

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/auth/src/core/auth/auth_impl.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,12 +613,18 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
613613
// The callback needs to be called asynchronously per the spec.
614614
// eslint-disable-next-line @typescript-eslint/no-floating-promises
615615
promise.then(() => {
616-
if (isUnsubscribed) { return; }
616+
if (isUnsubscribed) {
617+
return;
618+
}
617619
cb(this.currentUser);
618620
});
619621

620622
if (typeof nextOrObserver === 'function') {
621-
const unsubscribe = subscription.addObserver(nextOrObserver, error, completed);
623+
const unsubscribe = subscription.addObserver(
624+
nextOrObserver,
625+
error,
626+
completed
627+
);
622628
return () => {
623629
isUnsubscribed = true;
624630
unsubscribe();
@@ -628,7 +634,7 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
628634
return () => {
629635
isUnsubscribed = true;
630636
unsubscribe();
631-
}
637+
};
632638
}
633639
}
634640

0 commit comments

Comments
 (0)