Skip to content

Commit 466cd57

Browse files
authored
Merge pull request #172 from r3cha/remove-yarn-from-bun-detect-tool
Remove yarn from bun detect tool
2 parents 95d9b59 + 57de5ef commit 466cd57

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/install/helpers.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ def bundler_x_cmd
1515

1616
def using_bun?
1717
tool_exists?('bun') && (File.exist?('bun.lockb') ||
18-
File.exist?('bun.lock') ||
19-
File.exist?('yarn.lock'))
18+
File.exist?('bun.lock'))
2019
end
2120

2221
def tool_exists?(tool)

lib/tasks/cssbundling/build.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Cssbundling
2222
extend self
2323

2424
LOCK_FILES = {
25-
bun: %w[bun.lockb bun.lock yarn.lock],
25+
bun: %w[bun.lockb bun.lock],
2626
yarn: %w[yarn.lock],
2727
pnpm: %w[pnpm-lock.yaml],
2828
npm: %w[package-lock.json]

0 commit comments

Comments
 (0)