Skip to content

Commit

Permalink
Update mod.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ps-kwang authored Apr 24, 2024
1 parent 758cf9c commit 6aa48c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/login/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const login = command("login", {
args: args()
.tuple([z.string().describe("An API key to log in with.")])
.optional(),
}).run(async function* ({ args }) {
}).run(async function* ({ args, flags }) {
let apiKey: string | undefined = args[0] ?? flags["api-key"];

if (!apiKey) {
Expand Down

0 comments on commit 6aa48c8

Please sign in to comment.