Chomp values inserted into a StringBlockEditor

This commit is contained in:
Mitchell Hashimoto 2013-01-15 21:55:56 -08:00
parent 23668d4ed0
commit 6c2e1c354f
1 changed files with 2 additions and 2 deletions

View File

@ -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