Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicioslc committed Dec 15, 2019
1 parent e07290a commit c5f70b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/extension/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import stateKeys from './global-state-keys'

import { ConsoleInterface } from '../console-interface'
import globalStateKeys from './global-state-keys'
import helpers from '../adb-manager/helpers'

const cInterface = new ConsoleInterface()

const firebaseInstance = new FirebaseManagerChannel(cInterface)
Expand Down Expand Up @@ -138,7 +140,7 @@ export async function ConnectToDeviceFromList(
} else {
// wait disconnect from adb device
await adbInstance.DisconnectFromAllDevices()
connectToAdbDevice(context, adbInstance.extractIPAddress(ipSelected))
connectToAdbDevice(context, helpers.extractIPRegex(ipSelected))
}
}

Expand Down

0 comments on commit c5f70b8

Please sign in to comment.