use fmt pkg instead of github errors pkg in validateChartFormat func

Signed-off-by: James Sheppard <jgsheppa@protonmail.com>
pull/12063/head
James Sheppard 2 years ago
parent d67f5fd0c6
commit 05f02ceafd

@ -20,8 +20,6 @@ import (
"fmt"
"strings"
"github.com/pkg/errors"
"helm.sh/helm/v3/pkg/chart"
"helm.sh/helm/v3/pkg/chart/loader"
"helm.sh/helm/v3/pkg/lint/support"
@ -42,7 +40,7 @@ func Dependencies(linter *support.Linter) {
func validateChartFormat(chartError error) error {
if chartError != nil {
return errors.Errorf("unable to load chart\n\t%s", chartError)
return fmt.Errorf("unable to load chart\n\t%s", chartError)
}
return nil
}

Loading…
Cancel
Save