diff --git a/cmd/readmevalidation/repoStructure.go b/cmd/readmevalidation/repoStructure.go index f504f08b..6e68f4a8 100644 --- a/cmd/readmevalidation/repoStructure.go +++ b/cmd/readmevalidation/repoStructure.go @@ -39,7 +39,9 @@ func validateCoderResourceSubdirectory(dirPath string) []error { } for _, f := range files { // The .coder file is sometimes generated as part of Bun tests. These - // directories will never be committed to + // directories will never be committed to the repo, but in the off + // chance that they don't get cleaned up properly, we want to skip over + // them if !f.IsDir() || f.Name() == ".coder" { continue }