Skip to content

Commit d2798d3

Browse files
committedMar 16, 2025
Remove cache usage in getLatestVersion function for improved reliability
1 parent b0a8fc9 commit d2798d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/utils/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function saveToLocal(originPath: string, destName: string) {
158158

159159
async function getLatestVersion(pkgNames: string[]) {
160160
return latestVersion(pkgNames, {
161-
useCache: true,
161+
// useCache: true,
162162
requestOptions: {
163163
timeout: 2000,
164164
},

0 commit comments

Comments
 (0)