in src/index.ts [577:592]
for await (const item of allJsonDir) {
if (allJsonSet.has(item)) {
continue
}
allJsonSet.add(item)
const nearestReadme = await findTheNearestReadme(process.cwd(), item)
if (nearestReadme === undefined) {
yield {
level: 'Error',
code: 'MISSING_README',
message: 'Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.',
path: item,
folderUrl: item,
}
}
}