Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Nov 2, 2023
1 parent 16139fe commit b7889fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7950,7 +7950,7 @@ export const getCppModules = (src, options, osPkgsList, epkgList) => {
parentComponent.homepage = { url: vcPkgData.homepage };
}
}
} else if (join(src, "CMakeLists.txt")) {
} else if (existsSync(join(src, "CMakeLists.txt"))) {
const retMap = parseCmakeLikeFile(join(src, "CMakeLists.txt"), pkgType);
if (retMap.parentComponent && Object.keys(retMap.parentComponent).length) {
parentComponent = retMap.parentComponent;
Expand Down

0 comments on commit b7889fb

Please sign in to comment.