Chomp values inserted into a StringBlockEditor
This commit is contained in:
parent
23668d4ed0
commit
6c2e1c354f
|
@ -64,11 +64,11 @@ module Vagrant
|
|||
# Insert the new block into the value
|
||||
new_block = <<BLOCK
|
||||
# VAGRANT-BEGIN: #{key}
|
||||
#{value}
|
||||
#{value.chomp}
|
||||
# VAGRANT-END: #{key}
|
||||
BLOCK
|
||||
|
||||
@value << "#{new_block}"
|
||||
@value << new_block
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue