diff --git a/lib/install/helpers.rb b/lib/install/helpers.rb index 011e21d..2c4849d 100644 --- a/lib/install/helpers.rb +++ b/lib/install/helpers.rb @@ -19,7 +19,7 @@ def using_bun? end def tool_exists?(tool) - system "command -v #{tool} > /dev/null" + system("command", "-v", tool, out: File::NULL, err: File::NULL) end def add_package_json_script(name, script, run_script=true)