File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export function connectAuthEmulator(
107
107
108
108
if ( isCloudWorkstation ( host ) ) {
109
109
// Workaround to get cookies in Firebase Studio
110
- testConnectionAlive ( `${ protocol } //${ host } :${ port } ` ) . then ( ) . catch ( ) ;
110
+ void testConnectionAlive ( `${ protocol } //${ host } :${ port } ` ) ;
111
111
}
112
112
}
113
113
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
24
24
import { AppCheckInternalComponentName } from '@firebase/app-check-interop-types' ;
25
25
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types' ;
26
26
import { Provider } from '@firebase/component' ;
27
+ import { isCloudWorkstation , testConnectionAlive } from '@firebase/util' ;
27
28
28
29
import { AppCheckTokenProvider } from '../core/AppCheckTokenProvider' ;
29
30
import { Code , DataConnectError } from '../core/error' ;
@@ -42,7 +43,6 @@ import {
42
43
import { RESTTransport } from '../network/transport/rest' ;
43
44
44
45
import { MutationManager } from './Mutation' ;
45
- import { isCloudWorkstation , testConnectionAlive } from '@firebase/util' ;
46
46
47
47
/**
48
48
* Connector Config for calling Data Connect backend.
@@ -239,7 +239,7 @@ export function connectDataConnectEmulator(
239
239
sslEnabled = false
240
240
) : void {
241
241
if ( isCloudWorkstation ( host ) ) {
242
- testConnectionAlive ( `https://${ host } ${ port ? `:${ port } ` : '' } ` ) ;
242
+ void testConnectionAlive ( `https://${ host } ${ port ? `:${ port } ` : '' } ` ) ;
243
243
}
244
244
dc . enableEmulator ( { host, port, sslEnabled } ) ;
245
245
}
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ export function connectFirestoreEmulator(
335
335
} ;
336
336
const newHostSetting = `${ host } :${ port } ` ;
337
337
if ( useSsl ) {
338
- testConnectionAlive ( `https://${ newHostSetting } ` ) ;
338
+ void testConnectionAlive ( `https://${ newHostSetting } ` ) ;
339
339
}
340
340
if ( settings . host !== DEFAULT_HOST && settings . host !== newHostSetting ) {
341
341
logWarn (
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export function connectFunctionsEmulator(
180
180
useSsl ? 's' : ''
181
181
} ://${ host } :${ port } `;
182
182
if ( useSsl ) {
183
- testConnectionAlive ( functionsInstance . emulatorOrigin ) ;
183
+ void testConnectionAlive ( functionsInstance . emulatorOrigin ) ;
184
184
}
185
185
}
186
186
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export function connectStorageEmulator(
148
148
storage . host = `${ host } :${ port } ` ;
149
149
const useSsl = isCloudWorkstation ( host ) ;
150
150
if ( useSsl ) {
151
- testConnectionAlive ( `https://${ storage . host } ` ) ;
151
+ void testConnectionAlive ( `https://${ storage . host } ` ) ;
152
152
}
153
153
storage . _isUsingEmulator = true ;
154
154
storage . _protocol = useSsl ? 'https' : 'http' ;
You can’t perform that action at this time.
0 commit comments