mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
packer: Ui.Message should Fprint, not Fprintf
This commit is contained in:
parent
921770b611
commit
43b6c1fa89
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ func (rw *ReaderWriterUi) Message(message string) {
|
|||
defer rw.l.Unlock()
|
||||
|
||||
log.Printf("ui: %s", message)
|
||||
_, err := fmt.Fprintf(rw.Writer, message+"\n")
|
||||
_, err := fmt.Fprint(rw.Writer, message+"\n")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue