From f1168e52c9609257cb739884b89559e7004cb3cb Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Tue, 28 Mar 2023 22:13:13 +0200 Subject: [PATCH] fix: remove debugging prints Signed-off-by: Matej Focko --- src/cmd/patch.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cmd/patch.go b/src/cmd/patch.go index a6584c0..de0fb25 100644 --- a/src/cmd/patch.go +++ b/src/cmd/patch.go @@ -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")