Skip to content

Commit

Permalink
fix: ignore doc validation for eng/tools
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh committed Mar 24, 2022
1 parent 6763d1c commit 0a89313
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/tools/doccheck/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ func findAllSubDirectories(root string) []string {
if strings.Contains(path, "resourcemanager") {
isMGMT = true
}
if strings.Contains(path, "eng/tools") {
return filepath.SkipDir
}
if info.IsDir() && strings.HasSuffix(path, "internal") {
return filepath.SkipDir
} else if info.IsDir() {
Expand Down

0 comments on commit 0a89313

Please sign in to comment.