From dfc7fbe3b9cd48ff7af8d222c15bbbd5ebf0d364 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Thu, 26 Feb 2026 11:34:47 -0800 Subject: [PATCH] fix(cli): add curly braces to single-line if statements in resolveAuthMode --- src/cli/anthropic-auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; }