allow to have timestamped colorless ui messages
This commit is contained in:
parent
022b559c2f
commit
5efab58ed8
|
@ -156,12 +156,12 @@ func (c *BuildCommand) RunContext(buildCtx context.Context, args []string) int {
|
||||||
// Add a newline between the color output and the actual output
|
// Add a newline between the color output and the actual output
|
||||||
c.Ui.Say("")
|
c.Ui.Say("")
|
||||||
}
|
}
|
||||||
// Now add timestamps if requested
|
}
|
||||||
if cfg.Timestamp {
|
}
|
||||||
ui = &packer.TimestampedUi{
|
// Now add timestamps if requested
|
||||||
Ui: ui,
|
if cfg.Timestamp {
|
||||||
}
|
ui = &packer.TimestampedUi{
|
||||||
}
|
Ui: ui,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue