Skip to content

Commit cf8ef06

Browse files
author
Georg Molau
committed
Pass validated instead of raw root to walk function
1 parent f1abaae commit cf8ef06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func RewriteCodeownersRules(path string) ([]string, error) {
5252
var rewrittenRules []string
5353

5454
err = walkCodeownersFiles(root, func(coPath string) error {
55-
rules, procErr := processCodeownersFile(path, coPath)
55+
rules, procErr := processCodeownersFile(root, coPath)
5656
if procErr != nil {
5757
return procErr
5858
}

0 commit comments

Comments
 (0)