Skip to content

Commit 508e3bf

Browse files
authored
fix: #80507 show dry-run output for message send/poll (#94684)
Summary: - The branch changes `formatMessageCliText` to render dry-run message output from `result.dryRun` instead of only `handledBy === "dry-run"`. - PR surface: Source 0. Total 0 across 1 file. - Reproducibility: yes. source-reproducible. The linked issue has captured CLI output, and current main shows ... e the formatter still checks `handledBy === "dry-run"`; I did not execute the CLI in this read-only review. Automerge notes: - No ClawSweeper repair was needed after automerge opt-in. Validation: - ClawSweeper review passed for head dce6d6a. - Required merge gates passed before the squash merge. Prepared head SHA: dce6d6a Review: #94684 (comment) Co-authored-by: lizeyu-xydt <[email protected]>
1 parent 825188c commit 508e3bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/message-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export function formatMessageCliText(result: MessageActionRunResult): string[] {
247247
const width = getTerminalTableWidth();
248248
const opts: FormatOpts = { width };
249249

250-
if (result.handledBy === "dry-run") {
250+
if (result.dryRun) {
251251
return [muted(`[dry-run] would run ${result.action} via ${result.channel}`)];
252252
}
253253

0 commit comments

Comments
 (0)