mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:22:47 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -58,7 +58,9 @@ export async function runNonInteractiveOnboardingLocal(params: {
|
||||
runtime,
|
||||
baseConfig,
|
||||
});
|
||||
if (!nextConfigAfterAuth) return;
|
||||
if (!nextConfigAfterAuth) {
|
||||
return;
|
||||
}
|
||||
nextConfig = nextConfigAfterAuth;
|
||||
|
||||
const gatewayBasePort = resolveGatewayPort(baseConfig);
|
||||
@@ -68,7 +70,9 @@ export async function runNonInteractiveOnboardingLocal(params: {
|
||||
runtime,
|
||||
defaultPort: gatewayBasePort,
|
||||
});
|
||||
if (!gatewayResult) return;
|
||||
if (!gatewayResult) {
|
||||
return;
|
||||
}
|
||||
nextConfig = gatewayResult.nextConfig;
|
||||
|
||||
nextConfig = applyNonInteractiveSkillsConfig({ nextConfig, opts, runtime });
|
||||
|
||||
Reference in New Issue
Block a user