Use availablity of local plugins file instead of option
This commit is contained in:
parent
8e0e2fc53a
commit
7c9fb9a5d7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue