Move the plugins.json to the home directory

This commit is contained in:
Mitchell Hashimoto 2013-02-03 12:49:21 -08:00
parent b6821a4fc7
commit bc54875a25
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
def action(callable, env=nil)
env = {
:gem_helper => GemHelper.new(@env.gems_path),
:plugin_state_file => StateFile.new(@env.data_dir.join("plugins.json"))
:plugin_state_file => StateFile.new(@env.home_path.join("plugins.json"))
}.merge(env || {})
@env.action_runner.run(callable, env)