refactor: clarify source.JoinPath usage restricted to file paths
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/config/structs.go → internal/config/structs.go
@@ -86,7 +86,7 @@ source.Name = strings.ToTitle(source.Key[0:1]) + source.Key[1:] } } -func (source *Source) JoinPath(name string) string { +func (source *Source) JoinFilePath(name string) string { //nolint:forbidigo // is not absolute return filepath.Join("sources", source.Key, name) }