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
|
# Insert the new block into the value
|
||||||
new_block = <<BLOCK
|
new_block = <<BLOCK
|
||||||
# VAGRANT-BEGIN: #{key}
|
# VAGRANT-BEGIN: #{key}
|
||||||
#{value}
|
#{value.chomp}
|
||||||
# VAGRANT-END: #{key}
|
# VAGRANT-END: #{key}
|
||||||
BLOCK
|
BLOCK
|
||||||
|
|
||||||
@value << "#{new_block}"
|
@value << new_block
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue