Explorar o código

fix: regression w/ auth login where stderr was ignored instead of inherited (#25529)

Aiden Cline hai 5 meses
pai
achega
8e016b4703
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/opencode/src/cli/cmd/providers.ts

+ 1 - 0
packages/opencode/src/cli/cmd/providers.ts

@@ -318,6 +318,7 @@ export const ProvidersLoginCommand = effectCmd({
         prompts.log.info(`Running \`${wellknown.auth.command.join(" ")}\``)
         prompts.log.info(`Running \`${wellknown.auth.command.join(" ")}\``)
         const proc = Process.spawn(wellknown.auth.command, {
         const proc = Process.spawn(wellknown.auth.command, {
           stdout: "pipe",
           stdout: "pipe",
+          stderr: "inherit",
         })
         })
         if (!proc.stdout) {
         if (!proc.stdout) {
           prompts.log.error("Failed")
           prompts.log.error("Failed")