Skip to content

Commit

Permalink
Remove unnecessary Printf (#2557)
Browse files Browse the repository at this point in the history
The Prinft causes the output to be invalid, printing for example: "got codeowners file at .github/CODEOWNERS"

Signed-off-by: Luca Comellini <luca.com@gmail.com>

Signed-off-by: Luca Comellini <luca.com@gmail.com>
  • Loading branch information
lucacome authored Dec 21, 2022
1 parent 6c5d964 commit 9e6870c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions checks/raw/branch_protection.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ var addCodeownersFile fileparser.DoWhileTrueOnFileContent = func(
content []byte,
args ...interface{},
) (bool, error) {
fmt.Printf("got codeowners file at %s\n", path)

if len(args) != 1 {
return false, fmt.Errorf(
"addCodeownersFile requires exactly 1 arguments: got %v: %w",
Expand Down

0 comments on commit 9e6870c

Please sign in to comment.