core: Ui::Prefixed values instance-level opts
This commit is contained in:
parent
e6ca9d6f81
commit
342fba8182
|
@ -263,6 +263,8 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def format_message(type, message, **opts)
|
def format_message(type, message, **opts)
|
||||||
|
opts = self.opts.merge(opts)
|
||||||
|
|
||||||
prefix = ""
|
prefix = ""
|
||||||
if !opts.has_key?(:prefix) || opts[:prefix]
|
if !opts.has_key?(:prefix) || opts[:prefix]
|
||||||
prefix = OUTPUT_PREFIX
|
prefix = OUTPUT_PREFIX
|
||||||
|
|
Loading…
Reference in New Issue