New ๐ŸŒŠ wave for @helm

Commit 5e9f851d

5e9f851d33e2Merged

Sviatoslav Dumchenko <[email protected]> ยท 3 years ago ยท 1 file ยท ~1 modified

Description

fix: wrap error

Details

Commit
5e9f851d33e2
Parent
0969b4259dc6

pkg/helper/file.gomodifiedView file

@@ -64,5 +64,10 @@
6464 }
6565 }
6666
67- return cp.Copy(src, dest)
67+ err = cp.Copy(src, dest)
68+ if err != nil {
69+ return fmt.Errorf("failed to copy file '%s' to '%s': %w", src, dest, err)
70+ }
71+
72+ return nil
6873 }