fix(cli): add curly braces to single-line if statements in resolveAuthMode

This commit is contained in:
William Valentin
2026-02-26 11:34:47 -08:00
parent ed66dc98d3
commit dfc7fbe3b9
+2 -2
View File
@@ -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';
}