Compare commits

...
1 Commits
Author SHA1 Message Date
zricethezav ede68fd95d fix off by one 2020-09-02 08:36:19 -04:00
+3
View File
@@ -249,6 +249,9 @@ func extractAndInjectLineNumber(leak *manager.Leak, bundle *Bundle, repo *Repo)
return
}
currLine = 0
if !strings.HasSuffix(txt, diffLineSignature) {
currLine = -1
}
}
currLine++
}