Use availablity of local plugins file instead of option

This commit is contained in:
Chris Roberts 2018-07-18 15:48:26 -07:00
parent 8e0e2fc53a
commit 7c9fb9a5d7
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module VagrantPlugins
return if !argv
raise Vagrant::Errors::CLIInvalidUsage, help: opts.help.chomp if argv.length > 0
if options[:env_local]
if Vagrant::Plugin::Manager.instance.local_file
action(Action.action_repair_local, env: @env)
end