Skip to content

Commit

Permalink
Fix tool_exists
Browse files Browse the repository at this point in the history
  • Loading branch information
cocco111 authored Mar 22, 2024
1 parent 7faf59f commit e418740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/jsbundling/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module Jsbundling
end

def tool_exists?(tool)
system "command -v #{tool} > /dev/null"
system "which #{tool} > /dev/null"
end

def tool
Expand Down

0 comments on commit e418740

Please sign in to comment.