fix: remove debugging prints

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-03-28 22:13:13 +02:00
parent eda2f5153d
commit f1168e52c9
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -89,15 +89,12 @@ func WriteCommentsInFile(
for (nextComment < commentsLength) && comments[nextComment].LineNum == lineNum {
comment := comments[nextComment].Body
fmt.Fprint(outputFile, comment)
fmt.Printf("L%04d:\n%s\n", comments[nextComment].LineNum, comment)
nextComment++
}
return nextComment
}
func ProcessFile(filepath string, comments []*gitea.PullReviewComment) {
fmt.Printf("FILE: %s\n", filepath)
core.BackUpSource(filepath)
inputFile, err := os.Open(filepath + ".bck")