Skip to content

Commit

Permalink
fix formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
smeng9 authored Jan 7, 2025
1 parent be34d47 commit f1d3e61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,12 @@ const lockfileFormats = [
checkPatchesDir: false,
manager: 'pnpm',
},
{ name: 'bun.lockb', path: 'bun.lockb', checkPatchesDir: 'patches', manager: 'bun' },
{
name: 'bun.lockb',
path: 'bun.lockb',
checkPatchesDir: 'patches',
manager: 'bun',
},
].sort((_, { manager }) => {
return process.env.npm_config_user_agent?.startsWith(manager) ? 1 : -1
})
Expand Down

0 comments on commit f1d3e61

Please sign in to comment.