summaryrefslogtreecommitdiff
path: root/internal/askcli/command_projects.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-11 08:52:01 +0300
committerPaul Buetow <paul@buetow.org>2026-06-11 08:52:01 +0300
commitece7dcfd232b780f5650326c8ac2379ca70387d4 (patch)
treef4e09717b535fe6e277269e70deff40a60147a36 /internal/askcli/command_projects.go
parenta5bd7dd1eb63a2be332ecda50fbeccfe5d5de0a8 (diff)
Fix error wrapping: use %w for primary child error in tmux action
In runInTmuxChild, the primary failure is the child runFn error; the echo-through failure is secondary context. Wrap the primary error with %w (keeping copyErr as %v, since fmt.Errorf allows only one %w) so errors.Is/As work across the chain. Audited all other fmt.Errorf %v/%s sites in internal/ and cmd/: they format strings, ints, status codes, or an []error aggregate (syncer), none of which is a single primary error to unwrap, so they stay as-is. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/askcli/command_projects.go')
0 files changed, 0 insertions, 0 deletions