Skip to content

Commit 4fcd32a

Browse files
authored
fix linter findings (jandelgado#18)
1 parent c7e6d5d commit 4fcd32a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# changelog for gcov2lcov
22

3+
## 1.0.6 [2023-08-18]
4+
5+
* performance otimizations (thanks to zzh8829, #16)
6+
* dependency upgrades
7+
38
## 1.0.5 [2021-04-28]
49

510
* new: option `-use-absolute-source-path` - when set absolut path names are
611
used for the SF value (#10)
712
* compile with go 1.16
8-
13+
914
## 1.0.2 [2020-04-25]
1015

1116
* fix calculation of LH and LF values which led to wrong calculation of

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func findFile(filePath string) (string, error) {
4949
if result, ok = pkgCache[dir]; !ok {
5050
pkg, err := build.Import(dir, ".", build.FindOnly)
5151
if err == nil {
52-
result = cacheEntry{filepath.Join(pkg.Dir), nil}
52+
result = cacheEntry{pkg.Dir, nil}
5353
} else {
5454
result = cacheEntry{"", err}
5555
}

0 commit comments

Comments
 (0)