@@ -52,7 +52,8 @@ async function run(octokit, context, token) {
5252
5353 let yarnLock = await fileExists ( path . resolve ( cwd , 'yarn.lock' ) ) ;
5454 let pnpmLock = await fileExists ( path . resolve ( cwd , 'pnpm-lock.yaml' ) ) ;
55- let bunLock = await fileExists ( path . resolve ( cwd , 'bun.lockb' ) ) ;
55+ let bunLockb = await fileExists ( path . resolve ( cwd , 'bun.lockb' ) ) ;
56+ let bunLock = await fileExists ( path . resolve ( cwd , 'bun.lock' ) ) ;
5657 let packageLock = await fileExists ( path . resolve ( cwd , 'package-lock.json' ) ) ;
5758
5859 let packageManager = 'npm' ;
@@ -63,7 +64,7 @@ async function run(octokit, context, token) {
6364 } else if ( pnpmLock ) {
6465 installScript = 'pnpm install --frozen-lockfile' ;
6566 packageManager = 'pnpm' ;
66- } else if ( bunLock ) {
67+ } else if ( bunLockb || bunLock ) {
6768 installScript = 'bun install --frozen-lockfile' ;
6869 packageManager = 'bun' ;
6970 } else if ( packageLock ) {
@@ -129,7 +130,8 @@ async function run(octokit, context, token) {
129130
130131 yarnLock = await fileExists ( path . resolve ( cwd , 'yarn.lock' ) ) ;
131132 pnpmLock = await fileExists ( path . resolve ( cwd , 'pnpm-lock.yaml' ) ) ;
132- bunLock = await fileExists ( path . resolve ( cwd , 'bun.lockb' ) ) ;
133+ bunLockb = await fileExists ( path . resolve ( cwd , 'bun.lockb' ) ) ;
134+ bunLock = await fileExists ( path . resolve ( cwd , 'bun.lock' ) ) ;
133135 packageLock = await fileExists ( path . resolve ( cwd , 'package-lock.json' ) ) ;
134136
135137 packageManager = 'npm' ;
@@ -140,7 +142,7 @@ async function run(octokit, context, token) {
140142 } else if ( pnpmLock ) {
141143 installScript = `pnpm install --frozen-lockfile` ;
142144 packageManager = `pnpm` ;
143- } else if ( bunLock ) {
145+ } else if ( bunLockb || bunLock ) {
144146 installScript = `bun install --frozen-lockfile` ;
145147 packageManager = `bun` ;
146148 } else if ( packageLock ) {
0 commit comments