Skip to content

Commit e942ea8

Browse files
authored
fix missing prefix for symlinks (#132)
1 parent 13fd477 commit e942ea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/collection/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func LoadFilesFromDirectory(prefix, source string) (files []*File, err error) {
126126
return fmt.Errorf("could not read link: %w", err)
127127
}
128128

129-
file = NewFile(path + "-symlink.txt")
129+
file = NewFile(filepath.Join(prefix, path) + "-symlink.txt")
130130
file.Data = []byte(link)
131131
} else {
132132
file, err = loadFile(prefix, path, info)

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "fmt"
44

55
//nolint:gochecknoglobals
66
var (
7-
version = "0.10.1"
7+
version = "main"
88
commit = ""
99
date = ""
1010
)

0 commit comments

Comments
 (0)