fix: lint cleanups

This commit is contained in:
Peter Steinberger
2026-01-31 07:59:01 +00:00
parent a42e1c82d9
commit ee26b68fe1
3 changed files with 7 additions and 3 deletions

View File

@@ -384,7 +384,9 @@ export const handleSubagentsCommand: CommandHandler = async (params, allowTextCo
timeoutMs: 10_000,
});
const responseRunId = typeof response?.runId === "string" ? response.runId : undefined;
if (responseRunId) runId = responseRunId;
if (responseRunId) {
runId = responseRunId;
}
} catch (err) {
const messageText =
err instanceof Error ? err.message : typeof err === "string" ? err : "error";