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(
107107
108108 if ( isCloudWorkstation ( host ) ) {
109109 // Workaround to get cookies in Firebase Studio
110- testConnectionAlive ( `${ protocol } //${ host } :${ port } ` ) . then ( ) . catch ( ) ;
110+ void testConnectionAlive ( `${ protocol } //${ host } :${ port } ` ) ;
111111 }
112112}
113113
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
2424import { AppCheckInternalComponentName } from '@firebase/app-check-interop-types' ;
2525import { FirebaseAuthInternalName } from '@firebase/auth-interop-types' ;
2626import { Provider } from '@firebase/component' ;
27+ import { isCloudWorkstation , testConnectionAlive } from '@firebase/util' ;
2728
2829import { AppCheckTokenProvider } from '../core/AppCheckTokenProvider' ;
2930import { Code , DataConnectError } from '../core/error' ;
@@ -42,7 +43,6 @@ import {
4243import { RESTTransport } from '../network/transport/rest' ;
4344
4445import { MutationManager } from './Mutation' ;
45- import { isCloudWorkstation , testConnectionAlive } from '@firebase/util' ;
4646
4747/**
4848 * Connector Config for calling Data Connect backend.
@@ -239,7 +239,7 @@ export function connectDataConnectEmulator(
239239 sslEnabled = false
240240) : void {
241241 if ( isCloudWorkstation ( host ) ) {
242- testConnectionAlive ( `https://${ host } ${ port ? `:${ port } ` : '' } ` ) ;
242+ void testConnectionAlive ( `https://${ host } ${ port ? `:${ port } ` : '' } ` ) ;
243243 }
244244 dc . enableEmulator ( { host, port, sslEnabled } ) ;
245245}
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ export function connectFirestoreEmulator(
335335 } ;
336336 const newHostSetting = `${ host } :${ port } ` ;
337337 if ( useSsl ) {
338- testConnectionAlive ( `https://${ newHostSetting } ` ) ;
338+ void testConnectionAlive ( `https://${ newHostSetting } ` ) ;
339339 }
340340 if ( settings . host !== DEFAULT_HOST && settings . host !== newHostSetting ) {
341341 logWarn (
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export function connectFunctionsEmulator(
180180 useSsl ? 's' : ''
181181 } ://${ host } :${ port } `;
182182 if ( useSsl ) {
183- testConnectionAlive ( functionsInstance . emulatorOrigin ) ;
183+ void testConnectionAlive ( functionsInstance . emulatorOrigin ) ;
184184 }
185185}
186186
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export function connectStorageEmulator(
148148 storage . host = `${ host } :${ port } ` ;
149149 const useSsl = isCloudWorkstation ( host ) ;
150150 if ( useSsl ) {
151- testConnectionAlive ( `https://${ storage . host } ` ) ;
151+ void testConnectionAlive ( `https://${ storage . host } ` ) ;
152152 }
153153 storage . _isUsingEmulator = true ;
154154 storage . _protocol = useSsl ? 'https' : 'http' ;
You can’t perform that action at this time.
0 commit comments