Fixed: dup string if frozen when formatting output for machine.
This commit is contained in:
parent
64649f8f1d
commit
8d1cc513ec
|
@ -84,6 +84,7 @@ module Vagrant
|
|||
# Prepare the data by replacing characters that aren't outputted
|
||||
data.each_index do |i|
|
||||
data[i] = data[i].to_s
|
||||
data[i] = data[i].dup if data[i].frozen?
|
||||
data[i].gsub!(",", "%!(VAGRANT_COMMA)")
|
||||
data[i].gsub!("\n", "\\n")
|
||||
data[i].gsub!("\r", "\\r")
|
||||
|
|
Loading…
Reference in New Issue