From 3e568511f831c9b4d116d1e01ceaf23a685fc08a Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Sun, 9 Aug 2026 13:23:52 +0200 Subject: [PATCH] style: drop em-dashes from new comments Co-Authored-By: Claude Fable 5 --- src/session-cli-builder.ts | 4 ++-- src/tmux-manager.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/session-cli-builder.ts b/src/session-cli-builder.ts index d3fcc3aa..482c8105 100644 --- a/src/session-cli-builder.ts +++ b/src/session-cli-builder.ts @@ -59,7 +59,7 @@ export function buildEffortCliArgs(effort?: EffortLevel): string[] { * and the flag's presence at exactly this version was verified against the installed * binary (`2.1.224 --help` lists `-n, --name`). The gate MUST stay fail-closed: an * older or unknown CLI aborts startup on an unknown flag ("error: unknown option"), - * which would kill every session spawn — so no version means no flag, and the + * which would kill every session spawn: so no version means no flag, and the * command line stays byte-identical to the pre-`--name` one. */ export const CLAUDE_NAME_FLAG_MIN_VERSION = '2.1.224'; @@ -71,7 +71,7 @@ export const CLAUDE_NAME_FLAG_MIN_VERSION = '2.1.224'; * special inside the double-quoted shell interpolation buildSpawnCommand uses * (`"`, `$`, backslash, backtick) as well as newlines. Leading dashes/punctuation * are stripped so the value can never be parsed as another CLI option, and the - * result is capped at 64 chars. Returns undefined when nothing safe remains — + * result is capped at 64 chars. Returns undefined when nothing safe remains; * callers must then omit the flag entirely (never send `--name ""`). */ export function sanitizeCliSessionName(name?: string): string | undefined { diff --git a/src/tmux-manager.ts b/src/tmux-manager.ts index 288f55fa..aa186b5a 100644 --- a/src/tmux-manager.ts +++ b/src/tmux-manager.ts @@ -785,7 +785,7 @@ export function buildSpawnCommand(options: { * Claude CLI version for the `--name` gate. Omitted = probe the local CLI * (getClaudeCliVersion; null under vitest). Tests inject a value here; the * docker/remote paths never see this builder's output, which is what keeps the - * gate measuring the RIGHT binary — the local one. + * gate measuring the RIGHT binary, the local one. */ claudeCliVersion?: string | null; }): string {