From 465a2e5af50f8ba7453bb0008c8a5192b61d42df Mon Sep 17 00:00:00 2001 From: Steven Barnes Date: Sun, 16 May 2021 12:40:39 -0500 Subject: [PATCH] fix linting error --- pkg/releaser/releaser.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/releaser/releaser.go b/pkg/releaser/releaser.go index c3a2893..6e92fb8 100644 --- a/pkg/releaser/releaser.go +++ b/pkg/releaser/releaser.go @@ -183,7 +183,9 @@ func (r *Releaser) UpdateIndexFile() (bool, error) { if r.config.PackagesWithIndex { indexBasePath := filepath.Dir(r.config.IndexPath) chartTargetPath := filepath.Join(indexBasePath, filepath.Base(chartPackage)) - copyFile(chartPackage, chartTargetPath) + if err := copyFile(chartPackage, chartTargetPath); err != nil { + return false, err + } } update = true break