Add output for local repair
This commit is contained in:
parent
ab39125570
commit
8e0e2fc53a
|
@ -44,6 +44,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
def call(env)
|
||||
env[:ui].info(I18n.t("vagrant.commands.plugin.repairing_local"))
|
||||
Vagrant::Plugin::Manager.instance.localize!(env[:env]).each_pair do |pname, pinfo|
|
||||
env[:env].action_runner.run(Action.action_install,
|
||||
plugin_name: pname,
|
||||
|
@ -53,6 +54,7 @@ module VagrantPlugins
|
|||
plugin_env_local: true
|
||||
)
|
||||
end
|
||||
env[:ui].info(I18n.t("vagrant.commands.plugin.repair_local_complete"))
|
||||
# Continue
|
||||
@app.call(env)
|
||||
end
|
||||
|
|
|
@ -1920,9 +1920,13 @@ en:
|
|||
|
||||
%{message}
|
||||
repairing: |-
|
||||
Repairing currently installed plugins. This may take a few minutes...
|
||||
Repairing currently installed global plugins. This may take a few minutes...
|
||||
repairing_local: |-
|
||||
Repairing currently installed local project plugins. This may take a few minutes...
|
||||
repair_complete: |-
|
||||
Installed plugins successfully repaired!
|
||||
repair_local_complete: |-
|
||||
Local project plugins successfully repaired!
|
||||
repair_failed: |-
|
||||
Failed to automatically repair installed Vagrant plugins. To fix this
|
||||
problem remove all user installed plugins and reinstall. Vagrant can
|
||||
|
|
Loading…
Reference in New Issue