Update key names when passing to install action

This commit is contained in:
Chris Roberts 2016-11-28 16:56:00 -08:00
parent 9717432920
commit cc37207f9c
1 changed files with 2 additions and 1 deletions

View File

@ -43,9 +43,10 @@ module VagrantPlugins
@env.ui.info(I18n.t("vagrant.commands.plugin.expunge_reinstall"))
plugins.each do |plugin_name, plugin_info|
next if plugin_info["system"] # system plugins do not require re-install
# Rebuild information hash to use symbols
plugin_info = Hash[
plugin_info.map do |key, value|
[key.to_sym, value]
["plugin_#{key}".to_sym, value]
end
]
action(