From e4187405b68a5c20ed5d54b863e10cda0faa4584 Mon Sep 17 00:00:00 2001 From: Alberto Cocheo <54602991+cocco111@users.noreply.github.com> Date: Fri, 22 Mar 2024 19:42:23 +0100 Subject: [PATCH] Fix tool_exists --- lib/tasks/jsbundling/build.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/jsbundling/build.rake b/lib/tasks/jsbundling/build.rake index c6b29aa..38feccd 100644 --- a/lib/tasks/jsbundling/build.rake +++ b/lib/tasks/jsbundling/build.rake @@ -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