Skip to content

Commit

Permalink
fix: roots
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Jan 19, 2024
1 parent b6a32a2 commit a3babcc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/dox/build/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,8 @@ exports.parseFleckRoot = async (root, state) => {

exports.parseFlecks = async (flecks) => {
const state = new ParserState();
const paths = Object.keys(flecks.resolver);
const roots = Array.from(new Set(
paths
.map((path) => flecks.root(path))
.filter((e) => !!e),
));
await Promise.all(
roots
Object.keys(flecks.roots)
.map(async (root) => {
await exports.parseFleckRoot(root, state);
}),
Expand Down

0 comments on commit a3babcc

Please sign in to comment.