1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 01:41:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Remove cache usage in getLatestVersion function for improved reliability

This commit is contained in:
sunnylqm
2025-03-16 11:01:10 +08:00
parent b0a8fc928a
commit d2798d3177

View File

@@ -158,7 +158,7 @@ export function saveToLocal(originPath: string, destName: string) {
async function getLatestVersion(pkgNames: string[]) {
return latestVersion(pkgNames, {
useCache: true,
// useCache: true,
requestOptions: {
timeout: 2000,
},