Skip to content

Commit

Permalink
fix missing prefix for symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
tbauriedel committed Aug 28, 2024
1 parent 13fd477 commit 2f4d321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/collection/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func LoadFilesFromDirectory(prefix, source string) (files []*File, err error) {
return fmt.Errorf("could not read link: %w", err)
}

file = NewFile(path + "-symlink.txt")
file = NewFile(filepath.Join(prefix, path) + "-symlink.txt")
file.Data = []byte(link)
} else {
file, err = loadFile(prefix, path, info)
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "fmt"

//nolint:gochecknoglobals
var (
version = "0.10.1"
version = "main"
commit = ""
date = ""
)
Expand Down

0 comments on commit 2f4d321

Please sign in to comment.