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 cdadc03 commit aac12a8Copy full SHA for aac12a8
src/parsers/markdown.mjs
@@ -53,9 +53,7 @@ const createParser = linter => {
53
const parseApiDocs = async apiDocs => {
54
// We do a Promise.all, to ensure that each API doc is resolved asynchronously
55
// but all need to be resolved first before we return the result to the caller
56
- const resolvedApiDocEntries = await Promise.all(apiDocs.map(parseApiDoc));
57
-
58
- return resolvedApiDocEntries;
+ return Promise.all(apiDocs.map(parseApiDoc));
59
};
60
61
return { parseApiDocs, parseApiDoc };
0 commit comments