in src/manifest.ts [121:138]
function GetManifestsFromDir(dirName: string): string[] {
const toRet: string[] = [];
fs.readdirSync(dirName).forEach((fileName) => {
const filePath: string = path.join(dirName, fileName);
const extension = path.extname(fileName);
if (fs.lstatSync(filePath).isDirectory()) {
toRet.push(...GetManifestsFromDir(filePath));
} else if (MANIFEST_EXTENSIONS.includes(extension)) {
toRet.push(path.join(dirName, fileName));
} else {
core.debug(`Detected non-manifest file in manifest path: ${filePath}`);
}
});
return toRet;
}