adamdotdevin 7 месяцев назад
Родитель
Сommit
6a5a4247c6
1 измененных файлов с 0 добавлено и 9 удалено
  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
       }
 
-      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() {
         const s = prompts.spinner()
         s.start("Installing GitHub app")