Skip to content

Commit 72c1d43

Browse files
authored
fix: correct retry option for manifest fetch (#384)
1 parent 6529f6d commit 72c1d43

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils.ts

Lines changed: 4 additions & 4 deletions
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)