Skip to content

Commit

Permalink
Remove unnecessary Printf (ossf#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 and raghavkaul committed Feb 9, 2023
1 parent c858e40 commit 723e639
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 723e639

Please sign in to comment.