Skip to content

Commit ceceb61

Browse files
committed
fix updateApis command
1 parent af00ddd commit ceceb61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/download/exchangeDownloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,5 +444,5 @@ function getLatestReleaseVersion(versionGroup: {
444444
if (aMajor !== bMajor) return bMajor - aMajor;
445445
if (aMinor !== bMinor) return bMinor - aMinor;
446446
return bPatch - aPatch;
447-
})[0].version;
447+
})[0]?.version;
448448
}

0 commit comments

Comments
 (0)