Make it clear that the plugin install prompt is a question (#1355)

This commit is contained in:
Richard Wall 2024-02-16 11:58:16 +00:00 committed by GitHub
parent 43fec2d599
commit 4bc786485c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ func (h *HelmfileInit) CheckHelmPlugins() error {
return err
}
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %s is not installed, do you need to install it", p.name))
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %q is not installed, do you want to install it?", p.name))
if err != nil {
return err
}
@ -184,7 +184,7 @@ func (h *HelmfileInit) CheckHelmPlugins() error {
}
requiredVersion, _ := semver.NewVersion(p.version)
if pluginVersion.LessThan(requiredVersion) {
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %s version is too low, do you need to update it", p.name))
err = h.WhetherContinue(fmt.Sprintf("The helm plugin %q version is too low, do you want to update it?", p.name))
if err != nil {
return err
}