style: align formatting after rebase

This commit is contained in:
Tak Hoffman
2026-03-08 22:33:19 -05:00
parent 8e486dffc9
commit a3d08bb3d2
2 changed files with 13 additions and 11 deletions

View File

@@ -36,16 +36,17 @@ const renderGatewayPortHealthDiagnostics = vi.fn(() => ["diag: unhealthy port"])
const renderRestartDiagnostics = vi.fn(() => ["diag: unhealthy runtime"]);
const resolveGatewayPort = vi.fn(() => 18789);
const findGatewayPidsOnPortSync = vi.fn<(port: number) => number[]>(() => []);
const probeGateway = vi.fn<
(opts: {
url: string;
auth?: { token?: string; password?: string };
timeoutMs: number;
}) => Promise<{
ok: boolean;
configSnapshot: unknown;
}>
>();
const probeGateway =
vi.fn<
(opts: {
url: string;
auth?: { token?: string; password?: string };
timeoutMs: number;
}) => Promise<{
ok: boolean;
configSnapshot: unknown;
}>
>();
const isRestartEnabled = vi.fn<(config?: { commands?: unknown }) => boolean>(() => true);
const loadConfig = vi.fn(() => ({}));

View File

@@ -242,7 +242,8 @@ export function loadPluginManifestRegistry(params: {
continue;
}
const candidateWins =
GENUINE_DUPLICATE_RANK[candidate.origin] < GENUINE_DUPLICATE_RANK[existing.candidate.origin];
GENUINE_DUPLICATE_RANK[candidate.origin] <
GENUINE_DUPLICATE_RANK[existing.candidate.origin];
const skippedCandidate = candidateWins ? existing.candidate : candidate;
diagnostics.push({
level: "warn",