From 92b7c6bff68c4f7bd3b164da9d7a9d452b226561 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Mon, 30 Dec 2024 07:26:55 +0100 Subject: [PATCH] fix --- lib/support/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/support/cli.js b/lib/support/cli.js index 7f197078f..0f72133ed 100644 --- a/lib/support/cli.js +++ b/lib/support/cli.js @@ -37,7 +37,7 @@ try { function hasbin(bin) { try { const cmd = process.platform === 'win32' ? 'where' : 'which'; - execaSync(cmd, [bin]); + execaSync(cmd, bin); return true; } catch { return false;