fix: remove debugging prints
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
eda2f5153d
commit
f1168e52c9
1 changed files with 0 additions and 3 deletions
|
@ -89,15 +89,12 @@ func WriteCommentsInFile(
|
||||||
for (nextComment < commentsLength) && comments[nextComment].LineNum == lineNum {
|
for (nextComment < commentsLength) && comments[nextComment].LineNum == lineNum {
|
||||||
comment := comments[nextComment].Body
|
comment := comments[nextComment].Body
|
||||||
fmt.Fprint(outputFile, comment)
|
fmt.Fprint(outputFile, comment)
|
||||||
fmt.Printf("L%04d:\n%s\n", comments[nextComment].LineNum, comment)
|
|
||||||
nextComment++
|
nextComment++
|
||||||
}
|
}
|
||||||
return nextComment
|
return nextComment
|
||||||
}
|
}
|
||||||
|
|
||||||
func ProcessFile(filepath string, comments []*gitea.PullReviewComment) {
|
func ProcessFile(filepath string, comments []*gitea.PullReviewComment) {
|
||||||
fmt.Printf("FILE: %s\n", filepath)
|
|
||||||
|
|
||||||
core.BackUpSource(filepath)
|
core.BackUpSource(filepath)
|
||||||
|
|
||||||
inputFile, err := os.Open(filepath + ".bck")
|
inputFile, err := os.Open(filepath + ".bck")
|
||||||
|
|
Loading…
Reference in a new issue