Skip to content

Commit

Permalink
fix: Add new-line between diff tables
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Sep 26, 2022
1 parent 0682af3 commit 7e2b6b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/kluctl/commands/command_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ func formatCommandResultText(cr *types.CommandResult) string {
prettyObjectRefs(buf, refs)

buf.WriteString("\n")
for _, co := range cr.ChangedObjects {
for i, co := range cr.ChangedObjects {
if i != 0 {
buf.WriteString("\n")
}
prettyChanges(buf, co.Ref, co.Changes)
}
}
Expand Down

0 comments on commit 7e2b6b6

Please sign in to comment.