diff options
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 06b372f09..320f5b148 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -735,10 +735,9 @@ func (ctx *linux) extractGuiltyFileImpl(report []byte) string { if matchesAny(file, ctx.guiltyFileIgnores) || ctx.guiltyLineIgnore.Match(scanner.Bytes()) { continue } - guilty = string(file) + guilty = filepath.Clean(string(file)) break } - guilty = filepath.Clean(guilty) // Search for deeper filepaths in the stack trace below the first possible guilty file. deepestPath := filepath.Dir(guilty) |
