From 08b0884521cd932345b362f43f6d2c9c855eef64 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 9 Mar 2021 16:05:44 +0100 Subject: [PATCH] Vet command/init.go --- command/init.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command/init.go b/command/init.go index de150ed59..5d3469fa4 100644 --- a/command/init.go +++ b/command/init.go @@ -149,10 +149,10 @@ packer { newInstall.Version, ) ui.Error(warn) - } else { - msg := fmt.Sprintf("Installed plugin %s %s in %q", pluginRequirement.Identifier, newInstall.Version, newInstall.BinaryPath) - ui.Say(msg) + continue } + msg := fmt.Sprintf("Installed plugin %s %s in %q", pluginRequirement.Identifier, newInstall.Version, newInstall.BinaryPath) + ui.Say(msg) }