Skip to content

Commit 004d5c0

Browse files
rustyconoverclaude
andcommitted
Format catch block in oauth-pkce.ts to satisfy Biome lint
The single-line ``catch { /* ... */ }`` form introduced by the OAuth PKCE middleware commit failed ``biome check`` in CI. Expand to multi-line so ``make lint`` passes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d24773e commit 004d5c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/http/oauth-pkce.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,9 @@ export function handleEarlyReturnTo(request: Request, config: OAuthPkceConfig):
864864
return null;
865865
}
866866
}
867-
} catch { /* not a JWT or can't decode — proceed with redirect */ }
867+
} catch {
868+
/* not a JWT or can't decode — proceed with redirect */
869+
}
868870

869871
// Already authenticated with a return_to — redirect back with the token
870872
const separator = returnTo.includes("#") ? "&" : "#";

0 commit comments

Comments
 (0)