Skip to content

Commit

Permalink
fix: module filename issue (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffforest authored Mar 26, 2024
1 parent 7642064 commit eebfae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/io/dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func CopyDir(dst, src string, skip func(path string) bool) error {

// The "path" has the src prefixed to it. We need to join our
// destination with the path without the src on it.
dstPath := filepath.Join(dst, path[len(src):])
dstPath := filepath.Join(dst, path[len(src)-1:])

// we don't want to try and copy the same file over itself.
if eq, err := SameFile(path, dstPath); eq {
Expand Down

0 comments on commit eebfae5

Please sign in to comment.