Jay V пре 7 месеци
родитељ
комит
b65172a2b7
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      packages/opencode/src/cli/cmd/auth.ts

+ 5 - 2
packages/opencode/src/cli/cmd/auth.ts

@@ -16,7 +16,7 @@ export const AuthCommand = cmd({
   describe: "manage credentials",
   builder: (yargs) =>
     yargs.command(AuthLoginCommand).command(AuthLogoutCommand).command(AuthListCommand).demandCommand(),
-  async handler() {},
+  async handler() { },
 })
 
 export const AuthListCommand = cmd({
@@ -61,7 +61,10 @@ export const AuthListCommand = cmd({
         prompts.log.info(`${provider} ${UI.Style.TEXT_DIM}${envVar}`)
       }
 
-      prompts.outro(`${activeEnvVars.length} environment variables`)
+      prompts.outro(
+        `${activeEnvVars.length} environment variable`
+        + (activeEnvVars.length === 1 ? "" : "s")
+      )
     }
   },
 })