🐛 fix: where command on windows
Signed-off-by: Pauline <git@ethanlibs.co>
This commit is contained in:
parent
6159b07cbf
commit
82485a509c
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ async function where(cmd: string): Promise<boolean> {
|
|||
return false;
|
||||
|
||||
try {
|
||||
await execa(cmd);
|
||||
await execa`where "${cmd}"`;
|
||||
}
|
||||
catch {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue