Skip to content

Commit 30df039

Browse files
committed
fix: correct retry option for manifest fetch
1 parent 6529f6d commit 30df039

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ export async function runInRepo(options: RunOptions & RepoOptions) {
282282
const viteManifest = await pacote.manifest(`vite@${options.release}`, {
283283
retry: {
284284
// enable retry with same options with pnpm (https://pnpm.io/settings#fetchretries)
285-
fetchRetries: 2,
286-
fetchRetryFactor: 10,
287-
fetchRetryMintimeout: 10 * 1000,
288-
fetchRetryMaxtimeout: 60 * 1000,
285+
retries: 2,
286+
factor: 10,
287+
minTimeout: 10 * 1000,
288+
maxTimeout: 60 * 1000,
289289
},
290290
})
291291

0 commit comments

Comments
 (0)