code: function getDevices(adbPath: string): Array<string> {
    try {
      const devicesResult = execSync(`${adbPath} devices`);
      return parseDevicesResult(devicesResult.toString());
    } catch (e) {
      return [];
    }
  }
docs: Executes the commands needed to get a list of devices from ADB