From 41529a2063f3e90e73e4d6a76c27d064f4df12e8 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Fri, 26 Jan 2024 08:14:12 +0000 Subject: [PATCH] fix wrong lint --- lib/commands/device/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) &&