diff --git a/cmd/helm/plugin_uninstall.go b/cmd/helm/plugin_uninstall.go index ee4a47beb..a71636f84 100644 --- a/cmd/helm/plugin_uninstall.go +++ b/cmd/helm/plugin_uninstall.go @@ -16,12 +16,12 @@ limitations under the License. package main import ( + "errors" "fmt" "io" "os" "strings" - "github.com/pkg/errors" "github.com/spf13/cobra" "helm.sh/helm/v3/pkg/plugin" @@ -78,7 +78,7 @@ func (o *pluginUninstallOptions) run(out io.Writer) error { } } if len(errorPlugins) > 0 { - return errors.Errorf(strings.Join(errorPlugins, "\n")) + return fmt.Errorf(strings.Join(errorPlugins, "\n")) } return nil }