diff --git a/src/stack-cli.ts b/src/stack-cli.ts index f53e649..57041db 100644 --- a/src/stack-cli.ts +++ b/src/stack-cli.ts @@ -49,7 +49,10 @@ export class StackCLI { } async installed(): Promise { - const ec = await exec.exec("which", ["stack"]); + const ec = await exec.exec("which", ["stack"], { + silent: true, + ignoreReturnCode: true, + }); return ec == 0; }