Skip to content

Commit

Permalink
chore: fix typos (#13862)
Browse files Browse the repository at this point in the history
  • Loading branch information
hai-x committed Jul 17, 2023
1 parent 45c6f3b commit f54e8da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vite/src/node/optimizer/index.ts
Expand Up @@ -505,7 +505,7 @@ export function runOptimizeDeps(
}
}

const succesfulResult: DepOptimizationResult = {
const successfulResult: DepOptimizationResult = {
metadata,
cancel: cleanUp,
commit: async () => {
Expand Down Expand Up @@ -556,7 +556,7 @@ export function runOptimizeDeps(
// skip the scanner step if the lockfile hasn't changed
return {
cancel: async () => cleanUp(),
result: Promise.resolve(succesfulResult),
result: Promise.resolve(successfulResult),
}
}

Expand Down Expand Up @@ -654,7 +654,7 @@ export function runOptimizeDeps(
`Dependencies bundled in ${(performance.now() - start).toFixed(2)}ms`,
)

return succesfulResult
return successfulResult
})

.catch((e) => {
Expand Down

0 comments on commit f54e8da

Please sign in to comment.