style: fix biome formatting

This commit is contained in:
Peter Steinberger
2026-01-10 02:11:43 +00:00
parent afe6f182ca
commit 003cda73e8
5 changed files with 32 additions and 15 deletions

View File

@@ -657,10 +657,16 @@ export async function handleCommands(params: {
};
}
const snapshot = await readConfigFileSnapshot();
if (!snapshot.valid || !snapshot.parsed || typeof snapshot.parsed !== "object") {
if (
!snapshot.valid ||
!snapshot.parsed ||
typeof snapshot.parsed !== "object"
) {
return {
shouldContinue: false,
reply: { text: "⚠️ Config file is invalid; fix it before using /config." },
reply: {
text: "⚠️ Config file is invalid; fix it before using /config.",
},
};
}
const parsedBase = structuredClone(