diff --git a/cmd/helm/package.go b/cmd/helm/package.go index 822d3d56a..00c3abf5a 100644 --- a/cmd/helm/package.go +++ b/cmd/helm/package.go @@ -17,12 +17,12 @@ limitations under the License. package main import ( + "errors" "fmt" "io" "os" "path/filepath" - "github.com/pkg/errors" "github.com/spf13/cobra" "helm.sh/helm/v3/pkg/action" @@ -57,7 +57,7 @@ func newPackageCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { Long: packageDesc, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { - return errors.Errorf("need at least one argument, the path to the chart") + return fmt.Errorf("need at least one argument, the path to the chart") } if client.Sign { if client.Key == "" {