From b15033259acd2122da956dcb0f646fea91c0e0b2 Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Tue, 13 Oct 2026 18:29:09 +0200 Subject: [PATCH] style(approvals): prettier on the two lines #610 wrapped (#610 merge-time fix) format:check failed on src/web/server.ts and src/web/public/approvals-ui.js; both assignments fit on one line at printWidth 120. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/web/public/approvals-ui.js | 3 +-- src/web/server.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/web/public/approvals-ui.js b/src/web/public/approvals-ui.js index 6769b00b..18322fb9 100644 --- a/src/web/public/approvals-ui.js +++ b/src/web/public/approvals-ui.js @@ -264,8 +264,7 @@ Object.assign(CodemanApp.prototype, { } else if (item.answerInTerminal) { // Supervised-hook CLIs (DeepSeek Harness): keystrokes are unverifiable, so // Approve/Deny would hit the answer route and fail. Offer only Open session. - actions = - `Answer in the terminal`; + actions = `Answer in the terminal`; } else if (item.options && item.options.length) { actions = item.options .map( diff --git a/src/web/server.ts b/src/web/server.ts index 74efd7b5..d441990d 100644 --- a/src/web/server.ts +++ b/src/web/server.ts @@ -2776,8 +2776,7 @@ export class WebServer extends EventEmitter { // strips their action buttons — buttons without an id can never answer. approvalId: approvalsEnabled && typeof data.approvalId === 'string' ? data.approvalId : undefined, urgency: template.urgency, - actions: - approvalsEnabled && typeof data.approvalId === 'string' ? template.actions : undefined, + actions: approvalsEnabled && typeof data.approvalId === 'string' ? template.actions : undefined, }); for (const sub of subscriptions) {