Skip to content

Commit 39f3375

Browse files
committed
minor fix: arrow direction for initialized stack
1 parent 793dc81 commit 39f3375

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,12 @@ func detectPrefix(branches []string) string {
482482
func printWhatsNext(cfg *config.Config, s *stack.Stack, branches []string, hasAdopted bool, prCount int) {
483483
lastBranch := branches[len(branches)-1]
484484

485-
// Build the chain: main branch1 branch2
485+
// Build the chain: main branch1 branch2
486486
parts := []string{s.Trunk.Branch}
487487
for _, b := range s.Branches {
488488
parts = append(parts, b.Branch)
489489
}
490-
chain := strings.Join(parts, " ")
490+
chain := strings.Join(parts, " ")
491491

492492
// Success line
493493
if hasAdopted {

cmd/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ func TestInit_WhatsNext_Fresh(t *testing.T) {
581581
output := collectOutput(cfg, outR, errR)
582582

583583
assert.Contains(t, output, "Created stack")
584-
assert.Contains(t, output, "main my-feature")
584+
assert.Contains(t, output, "main my-feature")
585585
assert.Contains(t, output, "top of stack")
586586
assert.Contains(t, output, "What's next:")
587587
assert.Contains(t, output, "gh stack add")

0 commit comments

Comments
 (0)