mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 04:31:23 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -5,7 +5,9 @@ import { applyAuthProfileConfig } from "./onboard-auth.js";
|
||||
export async function applyAuthChoiceGitHubCopilot(
|
||||
params: ApplyAuthChoiceParams,
|
||||
): Promise<ApplyAuthChoiceResult | null> {
|
||||
if (params.authChoice !== "github-copilot") return null;
|
||||
if (params.authChoice !== "github-copilot") {
|
||||
return null;
|
||||
}
|
||||
|
||||
let nextConfig = params.config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user