Bläddra i källkod

fix(gh): build

adamdotdevin 1 år sedan
förälder
incheckning
6a5a4247c6
1 ändrade filer med 0 tillägg och 9 borttagningar
  1. 0 9
      packages/opencode/src/cli/cmd/install-github.ts

+ 0 - 9
packages/opencode/src/cli/cmd/install-github.ts

@@ -143,15 +143,6 @@ export const InstallGithubCommand = cmd({
         return model
         return model
       }
       }
 
 
-      async function promptKey() {
-        const key = await prompts.password({
-          message: "Enter your API key",
-          validate: (x) => (x.length > 0 ? undefined : "Required"),
-        })
-        if (prompts.isCancel(key)) throw new UI.CancelledError()
-        return key
-      }
-
       async function installGitHubApp() {
       async function installGitHubApp() {
         const s = prompts.spinner()
         const s = prompts.spinner()
         s.start("Installing GitHub app")
         s.start("Installing GitHub app")