diff --git a/CHANGELOG.md b/CHANGELOG.md index 312ac53..79cd588 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,16 @@ # changelog for gcov2lcov +## 1.0.6 [2023-08-18] + +* performance otimizations (thanks to zzh8829, #16) +* dependency upgrades + ## 1.0.5 [2021-04-28] * new: option `-use-absolute-source-path` - when set absolut path names are used for the SF value (#10) * compile with go 1.16 - + ## 1.0.2 [2020-04-25] * fix calculation of LH and LF values which led to wrong calculation of diff --git a/main.go b/main.go index fa2890e..50865e7 100644 --- a/main.go +++ b/main.go @@ -49,7 +49,7 @@ func findFile(filePath string) (string, error) { if result, ok = pkgCache[dir]; !ok { pkg, err := build.Import(dir, ".", build.FindOnly) if err == nil { - result = cacheEntry{filepath.Join(pkg.Dir), nil} + result = cacheEntry{pkg.Dir, nil} } else { result = cacheEntry{"", err} }