Fix some newline weirdness with StringBlockEditor
This commit is contained in:
parent
adec64baa4
commit
23668d4ed0
|
@ -68,7 +68,7 @@ module Vagrant
|
|||
# VAGRANT-END: #{key}
|
||||
BLOCK
|
||||
|
||||
@value << "\n#{new_block}"
|
||||
@value << "#{new_block}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -84,7 +84,7 @@ content
|
|||
DATA
|
||||
|
||||
new_data = <<DATA
|
||||
#{data}
|
||||
#{data.chomp}
|
||||
# VAGRANT-BEGIN: foo
|
||||
value
|
||||
# VAGRANT-END: foo
|
||||
|
|
Loading…
Reference in New Issue