diff --git a/lib/commands/device/common.js b/lib/commands/device/common.js index e28be101..adce8ef3 100644 --- a/lib/commands/device/common.js +++ b/lib/commands/device/common.js @@ -87,7 +87,7 @@ export async function getDeviceInfoFromCaps() { ((!_.includes(this.opts.platformVersion, '.') && /** @type {semver.SemVer} */ (semverPV).major === /** @type {semver.SemVer} */ (semverDO).major) || - /** @type {semver.SemVer} */ ((semverPV).major === + (/** @type {semver.SemVer} */ (semverPV).major === /** @type {semver.SemVer} */ (semverDO).major && /** @type {semver.SemVer} */ (semverPV).minor === /** @type {semver.SemVer} */ (semverDO).minor)) &&