command: fix data race on Ui
This commit is contained in:
parent
25607686c1
commit
bc1947124e
|
@ -153,10 +153,12 @@ func (m *Meta) process(args []string, vars bool) []string {
|
|||
|
||||
// Set the UI
|
||||
m.oldUi = m.Ui
|
||||
m.Ui = &ColorizeUi{
|
||||
m.Ui = &cli.ConcurrentUi{
|
||||
Ui: &ColorizeUi{
|
||||
Colorize: m.Colorize(),
|
||||
ErrorColor: "[red]",
|
||||
Ui: m.oldUi,
|
||||
},
|
||||
}
|
||||
|
||||
// If we support vars and the default var file exists, add it to
|
||||
|
|
Loading…
Reference in New Issue