We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee13845 commit ffdfe06Copy full SHA for ffdfe06
src/generators/legacy-json/index.mjs
@@ -49,17 +49,17 @@ export default {
49
return section;
50
};
51
52
- for (const node of headNodes) {
+ await Promise.all(headNodes.map(async node => {
53
// Get the json for the node's section
54
const section = processModuleNodes(node);
55
-
+
56
// Write it to the output file
57
await writeFile(
58
join(output, `${node.api}.json`),
59
JSON.stringify(section),
60
'utf8'
61
);
62
- }
+ }));
63
64
return generatedValues;
65
},
0 commit comments