MCPcopy Create free account
hub / github.com/cortexkit/magic-context / isGhInstalled

Function isGhInstalled

packages/cli/src/commands/doctor-opencode.ts:156–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154// ── Issue flow ──────────────────────────────────────────────────────
155
156function isGhInstalled(): boolean {
157 try {
158 execSync("gh --version", { stdio: "pipe" });
159 return true;
160 } catch {
161 return false;
162 }
163}
164
165function openBrowser(url: string): void {
166 try {

Callers 1

runIssueFlowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected