We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29cbef5 commit d1f6bcfCopy full SHA for d1f6bcf
src/utils/cli.ts
@@ -186,7 +186,7 @@ export function createCliStatusTracker(
186
? "ok"
187
: "setup_required",
188
);
189
- cliPath.setValue(newCli?.upToDate ? newCli?.cliPath : undefined);
+ cliPath.setValue(status.value() === "ok" ? newCli?.cliPath : undefined);
190
outdated.setValue(
191
newCli?.upToDate !== undefined ? !newCli.upToDate : undefined,
192
0 commit comments