Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 30, 2024
1 parent b89f48f commit 92b7c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/support/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 92b7c6b

Please sign in to comment.