More code beauty please
This commit is contained in:
parent
2868a5ff4f
commit
ecc8e0a108
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,9 @@ const paths = dependencyTree.toList({
|
||||||
// const paths = ['../packages/core/pattern.mjs', '../packages/core/hap.mjs'].map((rel) => resolve(__dirname, rel));
|
// const paths = ['../packages/core/pattern.mjs', '../packages/core/hap.mjs'].map((rel) => resolve(__dirname, rel));
|
||||||
|
|
||||||
const undocumented = Object.fromEntries(
|
const undocumented = Object.fromEntries(
|
||||||
await Promise.all(paths.map(async (path) => [path.replace(resolve(__dirname, '..'), ''), await getUndocumented(path, docs)])),
|
await Promise.all(
|
||||||
|
paths.map(async (path) => [path.replace(resolve(__dirname, '..'), ''), await getUndocumented(path, docs)]),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(JSON.stringify(undocumented, null, 2));
|
console.log(JSON.stringify(undocumented, null, 2));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue