mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
chore: fix lint, and format after lint to catch reformats triggered by autofixes.
This commit is contained in:
@@ -58,7 +58,9 @@ function buildUserIdentitySection(ownerLine: string | undefined, isMinimal: bool
|
||||
}
|
||||
|
||||
function buildTimeSection(params: { userTimezone?: string }) {
|
||||
if (!params.userTimezone) return [];
|
||||
if (!params.userTimezone) {
|
||||
return [];
|
||||
}
|
||||
return [
|
||||
"## Current Date & Time",
|
||||
`Time zone: ${params.userTimezone}`,
|
||||
|
||||
@@ -221,7 +221,9 @@ export function resolveAgentRoute(input: ResolveAgentRouteInput): ResolvedAgentR
|
||||
: null;
|
||||
if (parentPeer && parentPeer.id) {
|
||||
const parentPeerMatch = bindings.find((b) => matchesPeer(b.match, parentPeer));
|
||||
if (parentPeerMatch) return choose(parentPeerMatch.agentId, "binding.peer.parent");
|
||||
if (parentPeerMatch) {
|
||||
return choose(parentPeerMatch.agentId, "binding.peer.parent");
|
||||
}
|
||||
}
|
||||
|
||||
if (guildId) {
|
||||
|
||||
Reference in New Issue
Block a user