Skip to content

Commit 6d8508d

Browse files
committed
fix(list files): append files to parent directory
1 parent 04d09a3 commit 6d8508d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

host/host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func getFilesByPaths(paths ...string) (config.Files, error) {
7171
continue
7272
}
7373

74-
dirFiles, err := readDirectoryFilesRecursively(path)
74+
dirFiles, err := readDirectoryFilesRecursively(path, filepath.Base(path))
7575
if err != nil {
7676
return nil, fmt.Errorf("failed to retrieve files on directory %s, %v", path, err)
7777
}

0 commit comments

Comments
 (0)