diff --git a/readme.js b/readme.js index f204d5d..9c5e469 100644 --- a/readme.js +++ b/readme.js @@ -9,7 +9,7 @@ function get_readme_path(dir) { const stats = fs.statSync(filepath) if (stats.isDirectory() && filename.startsWith('level')) { res.push( ... get_readme_path(filepath)) - } else if (stats.isFile() && filename.endsWith('README.mdx') { + } else if (stats.isFile() && filename.endsWith('README.mdx') && ! filename.endsWith('cfo/README.mdx')) { res.push(filepath) } // console.log(res)