mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 05:38:35 +00:00
More code beauty please
This commit is contained in:
parent
2868a5ff4f
commit
ecc8e0a108
@ -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…
x
Reference in New Issue
Block a user