add correct to root name in result

add correct to root name in result
This commit is contained in:
Luis Tejeda
2022-06-09 18:25:23 -05:00
parent d5bfeab1f7
commit 9896b24d81
2 changed files with 3 additions and 1 deletions

View File

@@ -4860,7 +4860,7 @@ module.exports = {
else if (format.toLowerCase() === parse.YAML_FORMAT) {
bundledFile = parse.toYAML(bundledFile);
}
return { rootFile: { path: parsedRootFiles[0].fileName }, bundledContent: bundledFile };
return { rootFile: { path: contentAndComponents.fileName }, bundledContent: bundledFile };
};
},