We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ae0c70 + c3c4910 commit bd24649Copy full SHA for bd24649
1 file changed
helpers/copy_file.go
@@ -21,7 +21,7 @@ func CopyFile(srcPath, destPath string) (err error) {
21
defer w.Close()
22
23
// do the actual work
24
- n, err := io.Copy(w, r) // <------ here !
+ _, err = io.Copy(w, r) // <------ here !
25
if err != nil {
26
return err
27
}
0 commit comments