Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
annabarnes1138 committed May 16, 2021
1 parent c2c64b5 commit 465a2e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/releaser/releaser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 465a2e5

Please sign in to comment.