style: format code

This commit is contained in:
Peter Steinberger
2026-01-18 19:36:46 +00:00
parent 601a052216
commit 690bb192e6
9 changed files with 33 additions and 31 deletions

View File

@@ -33,9 +33,7 @@ describe("applyExclusiveSlotSelection", () => {
expect(result.warnings).toContain(
'Exclusive slot "memory" switched from "memory-core" to "memory".',
);
expect(result.warnings).toContain(
'Disabled other "memory" slot plugins: memory-core.',
);
expect(result.warnings).toContain('Disabled other "memory" slot plugins: memory-core.');
});
it("does nothing when the slot already matches", () => {

View File

@@ -76,9 +76,7 @@ export function applyExclusiveSlotSelection(params: {
}
if (disabledIds.length > 0) {
warnings.push(
`Disabled other "${slotKey}" slot plugins: ${disabledIds.sort().join(", ")}.`,
);
warnings.push(`Disabled other "${slotKey}" slot plugins: ${disabledIds.sort().join(", ")}.`);
}
const changed = prevSlot !== params.selectedId || disabledIds.length > 0;