mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
Update main.go
move machine readable comment to a more logical place.
This commit is contained in:
parent
d177a2647a
commit
cda87d777f
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -182,6 +182,7 @@ func wrappedMain() int {
|
|||
|
||||
var ui packer.Ui
|
||||
if machineReadable {
|
||||
// Setup the UI as we're being machine-readable
|
||||
ui = &packer.MachineReadableUi{
|
||||
Writer: os.Stdout,
|
||||
}
|
||||
|
|
@ -201,7 +202,6 @@ func wrappedMain() int {
|
|||
fmt.Fprintf(os.Stderr, "No tty available: %s\n", err)
|
||||
}
|
||||
}
|
||||
// Setup the UI if we're being machine-readable
|
||||
ui = &packer.BasicUi{
|
||||
Reader: os.Stdin,
|
||||
Writer: os.Stdout,
|
||||
|
|
|
|||
Loading…
Reference in a new issue