mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 10:41:23 +00:00
refactor: simplify gateway discovery sort keys
This commit is contained in:
@@ -231,9 +231,7 @@ export function registerGatewayCli(program: Command) {
|
||||
);
|
||||
|
||||
const deduped = dedupeBeacons(beacons).toSorted((a, b) =>
|
||||
String(a.displayName || a.instanceName).localeCompare(
|
||||
String(b.displayName || b.instanceName),
|
||||
),
|
||||
(a.displayName || a.instanceName).localeCompare(b.displayName || b.instanceName),
|
||||
);
|
||||
|
||||
if (opts.json) {
|
||||
|
||||
Reference in New Issue
Block a user