Skip to content

Commit 8ce3aae

Browse files
authored
fix: detect bun.lock (#2726)
* Detect bun.lock * fix: detect bun.lock
1 parent 418ca46 commit 8ce3aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/tools/bun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ export function getBunVersionIfAvailable() {
2828
}
2929

3030
export function isProjectUsingBun(cwd: string) {
31-
return findUp.sync('bun.lockb', {cwd});
31+
return findUp.sync('bun.lockb', {cwd}) || findUp.sync('bun.lock', {cwd});
3232
}

0 commit comments

Comments
 (0)