Skip to content

Commit 6ddd7c9

Browse files
Merge branch 'main' of github.com:dannyvankooten/gozer
2 parents 3e91e76 + 067857a commit 6ddd7c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fs.go

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ func copyFile(src string, d fs.DirEntry, dest string) error {
7575

7676
func copyDirRecursively(src string, dst string) error {
7777
return filepath.WalkDir(src, func(path string, d fs.DirEntry, err error) error {
78+
if err != nil {
79+
return err
80+
}
7881
outpath := dst + strings.TrimPrefix(path, src)
7982
return copyFile(path, d, outpath)
8083
})

0 commit comments

Comments
 (0)