style: fix formatting

This commit is contained in:
Magi Metal
2026-01-09 18:19:41 -05:00
committed by Peter Steinberger
parent a399fa36c8
commit 05bd100f7a
2 changed files with 37 additions and 37 deletions

View File

@@ -14,7 +14,7 @@ export type AuthChoiceOption = {
function formatOAuthHint(
expires?: number,
opts?: { allowStale?: boolean }
opts?: { allowStale?: boolean },
): string {
const rich = isRich();
if (!expires) {
@@ -33,8 +33,8 @@ function formatOAuthHint(
minutes >= 120
? `${Math.round(minutes / 60)}h`
: minutes >= 60
? "1h"
: `${Math.max(minutes, 1)}m`;
? "1h"
: `${Math.max(minutes, 1)}m`;
const label = `token ok · expires in ${duration}`;
if (minutes <= 10) {
return colorize(rich, theme.warn, label);