tidy up new line

This commit is contained in:
Matthew Hooker 2017-02-09 17:45:42 -08:00
parent 60955d8c2c
commit 11354aa1b7
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 4 additions and 3 deletions

View File

@ -94,15 +94,16 @@ func (c BuildCommand) Run(args []string) int {
}
if _, ok := c.Ui.(*packer.MachineReadableUi); !ok {
ui.Say(fmt.Sprintf("%s output will be in this color.", b))
if i+1 == len(buildNames) {
// Add a newline between the color output and the actual output
c.Ui.Say("")
}
}
}
buildUis[b] = ui
}
// Add a newline between the color output and the actual output
c.Ui.Say("")
log.Printf("Build debug mode: %v", cfgDebug)
log.Printf("Force build: %v", cfgForce)
log.Printf("On error: %v", cfgOnError)