1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-06 04:18:22 +08:00

Remove stray printf ()

This commit is contained in:
zeripath
2020-01-07 14:30:03 +00:00
committed by GitHub
parent c88f0fed36
commit 0d515474b8

@ -171,7 +171,6 @@ func TestPatch(pr *models.PullRequest) error {
scanner := bufio.NewScanner(stderrReader) scanner := bufio.NewScanner(stderrReader)
for scanner.Scan() { for scanner.Scan() {
line := scanner.Text() line := scanner.Text()
fmt.Printf("%s\n", line)
if strings.HasPrefix(line, prefix) { if strings.HasPrefix(line, prefix) {
conflict = true conflict = true
filepath := strings.TrimSpace(strings.Split(line[len(prefix):], ":")[0]) filepath := strings.TrimSpace(strings.Split(line[len(prefix):], ":")[0])