Skip to content

Commit

Permalink
fix: ignore cdktf documentation for registry limit (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt authored Jul 11, 2023
1 parent 524bf1d commit 099afa7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions check/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ func NumberOfFilesCheck(directories map[string][]string) error {
var numberOfFiles int

for directory, files := range directories {
// Ignore CDKTF files. The file limit is per-language and presumably there is one CDKTF file per source HCL file.
if IsValidCdktfDirectory(directory) {
continue
}

directoryNumberOfFiles := len(files)
log.Printf("[TRACE] Found %d documentation files in directory: %s", directoryNumberOfFiles, directory)
numberOfFiles = numberOfFiles + directoryNumberOfFiles
Expand Down

0 comments on commit 099afa7

Please sign in to comment.