diff --git a/src/cli/anthropic-auth.ts b/src/cli/anthropic-auth.ts index e39d9f5..aaa65f6 100644 --- a/src/cli/anthropic-auth.ts +++ b/src/cli/anthropic-auth.ts @@ -64,8 +64,8 @@ function resolveAuthMode(opts: { token?: boolean; browser?: boolean; mode?: Anth } return opts.mode; } - if (opts.browser) return 'browser'; - if (opts.token) return 'token'; + if (opts.browser) { return 'browser'; } + if (opts.token) { return 'token'; } return 'api'; }