Skip to content

Commit

Permalink
stackParser.Parse: Don't nest success case
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav committed Oct 22, 2023
1 parent 7973cbb commit 6396c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/stack/stacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ func (p *stackParser) Parse() ([]Stack, error) {
stack, err := p.parseStack(line)
if err != nil {
p.errors = append(p.errors, err)
} else {
p.stacks = append(p.stacks, stack)
continue
}
p.stacks = append(p.stacks, stack)
}
}

Expand Down

0 comments on commit 6396c7f

Please sign in to comment.