Skip to content

Commit 4250043

Browse files
committed
Formatting
1 parent c4f09e7 commit 4250043

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

packages-exp/auth-compat-exp/index.node.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
* just use index.ts
2323
*/
2424
export * from './index';
25-
import {FetchProvider} from '@firebase/auth-exp/internal';
25+
import { FetchProvider } from '@firebase/auth-exp/internal';
2626
import * as fetchImpl from 'node-fetch';
2727

2828
FetchProvider.initialize(
2929
(fetchImpl.default as unknown) as typeof fetch,
3030
(fetchImpl.Headers as unknown) as typeof Headers,
3131
(fetchImpl.Response as unknown) as typeof Response
32-
);
32+
);

packages-exp/auth-compat-exp/src/auth.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,13 @@ export class Auth
7272
this.auth._updateErrorMap(exp.debugErrorMap);
7373

7474
// Only use a popup/redirect resolver in browser environments
75-
const resolver = typeof window !== 'undefined' ? CompatPopupRedirectResolver : undefined;
75+
const resolver =
76+
typeof window !== 'undefined' ? CompatPopupRedirectResolver : undefined;
7677

7778
// This promise is intended to float; auth initialization happens in the
7879
// background, meanwhile the auth object may be used by the app.
7980
// eslint-disable-next-line @typescript-eslint/no-floating-promises
80-
this.auth._initializeWithPersistence(
81-
hierarchy,
82-
resolver
83-
);
81+
this.auth._initializeWithPersistence(hierarchy, resolver);
8482
}
8583

8684
get emulatorConfig(): compat.EmulatorConfig | null {

0 commit comments

Comments
 (0)