diff --git a/desktop/flipper-server-core/src/devices/ios/IOSBridge.tsx b/desktop/flipper-server-core/src/devices/ios/IOSBridge.tsx index 566e9b4aa..4bb7c98bc 100644 --- a/desktop/flipper-server-core/src/devices/ios/IOSBridge.tsx +++ b/desktop/flipper-server-core/src/devices/ios/IOSBridge.tsx @@ -330,7 +330,7 @@ function isSimulatorAvailable(simulator: iOSSimulatorDevice): boolean { ); } -async function isAvailable(idbPath: string): Promise { +async function isIdbAvailable(idbPath: string): Promise { if (!idbPath) { return false; } @@ -389,9 +389,9 @@ export async function makeIOSBridge( idbPath: string, isXcodeDetected: boolean, enablePhysicalDevices: boolean, - isAvailableFn: (idbPath: string) => Promise = isAvailable, + isAvailable: (idbPath: string) => Promise = isIdbAvailable, ): Promise { - if (await isAvailableFn(idbPath)) { + if (await isAvailable(idbPath)) { return new IDBBridge(idbPath, enablePhysicalDevices); }