Skip to content

Commit 2cbd045

Browse files
Remove redundant logging
1 parent 29a60ac commit 2cbd045

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/utils/git/ado.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,10 @@ func (c *AzureDevopsClient) FetchFileDiffs(ctx context.Context, repoName, repoOw
224224
fileChange.Patch = createPatch(path, path, oldContent, newContent)
225225
}
226226
default:
227-
log.Printf("Unknown change type: %s", *change.ChangeType)
227+
log.Printf("Unknown change type for %s: %s", path, *change.ChangeType)
228228
continue
229229
}
230230

231-
fmt.Printf("File: %s, ChangeType: %s, Patch:\n%s\n", path, *change.ChangeType, fileChange.Patch)
232231
fileChanges = append(fileChanges, &fileChange)
233232
}
234233
return fileChanges, nil

0 commit comments

Comments
 (0)