Uh oh!
There was an error while loading. Please reload this page.
Commit 6afdd70
fix(resources): drop the double blank before the set confirm hint (Bugbot #375)
After removing the intro banner, flag-driven interactive `resources set` (no
--yes/--dry-run) opened with TWO blank lines: a Newline() immediately before
PromptHint, which already self-leads with a newline. The dry-run path dropped
its redundant Newline() (Section supplies one) but the confirm path kept the
stacked pair, so the command no longer opened with a single blank line.
Remove the redundant Newline() — PromptHint's own leading newline gives the one
blank the PR's spacing contract promises. Adds TestSet_ConfirmOpensWithSingleBlank
(drives the flag confirm path via runSet) to pin it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3b40fb6 commit 6afdd70
2 files changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
270 | 273 | | |
271 | 274 | | |
272 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
0 commit comments