Skip to content

Commit

Permalink
Print a new line between stack names only if additional stack attribu…
Browse files Browse the repository at this point in the history
…tes are printed, as well
  • Loading branch information
sam701 committed Mar 20, 2017
1 parent 5134460 commit 95b3365
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cf/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ func printStacks(stacks []*cloudformation.Stack, options *stackPrintOptions) {
}

if i < len(stacks)-1 {
fmt.Println("")
if options.printOutputs || options.printParameters || options.printTags || options.printResources {
fmt.Println("")
}
}
}
}
Expand Down

0 comments on commit 95b3365

Please sign in to comment.