Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request paliarush#197 from paliarush/problems-with-deep-me…
Browse files Browse the repository at this point in the history
…rge-124

Problems with deep_merge paliarush#124
  • Loading branch information
paliarush authored Jul 24, 2018
2 parents cc4e939 + 193d3a9 commit c06ace0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Vagrant.require_version ">= 1.8"

require 'yaml'
require 'vagrant/util/deep_merge'

module OS
def OS.is_windows
Expand All @@ -20,7 +21,7 @@ module Config

config_data_dist = YAML.load_file(config_dist_file)
config_data = File.exists?(config_file) ? YAML.load_file(config_file) : {}
return config_data_dist.deep_merge!(config_data)
return Vagrant::Util::DeepMerge.deep_merge(config_data_dist, config_data)
end
end

Expand Down

0 comments on commit c06ace0

Please sign in to comment.