Skip to content

Commit d3f84d3

Browse files
committed
style: satisfy doctor migration lint rules
1 parent 420a21d commit d3f84d3

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎src/commands/doctor-config-flow.workspace-persistence.test.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ describe("Doctor workspace persistence", () => {
8282
ownership: "explicit",
8383
...(shape === "entries"
8484
? { entries }
85-
: { list: Object.entries(entries).map(([id, entry]) => ({ id, ...entry })) }),
85+
: {
86+
list: Object.entries(entries).map(([id, entry]) =>
87+
Object.assign({ id }, entry),
88+
),
89+
}),
8690
},
8791
gateway: { mode: "local" },
8892
plugins: { enabled: false },

‎src/commands/doctor/shared/legacy-config-migrations.runtime.retired-memory-qmd.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import {
88
} from "../../../config/legacy.shared.js";
99
import { normalizeConfiguredMemoryExtraPaths } from "../../../memory-host-sdk/host/config-utils.js";
1010
import type { MemoryExtraPath } from "../../../memory-host-sdk/host/types.js";
11-
import { visitAgentConfigScopes } from "./legacy-config-record-shared.js";
12-
import { deleteRetiredPath } from "./legacy-config-record-shared.js";
11+
import { deleteRetiredPath, visitAgentConfigScopes } from "./legacy-config-record-shared.js";
1312

1413
const rule = (
1514
path: string[],

0 commit comments

Comments
 (0)