Skip to content

Commit e2f93c2

Browse files
committed
fix a recursive dependency
1 parent 50e7fa3 commit e2f93c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ export default class Gantt {
14431443
}, []);
14441444

14451445
out = out.concat(deps);
1446-
to_process = deps.filter((d) => !to_process.includes(d));
1446+
to_process = deps.filter((d) => !to_process.includes(d) && !out.includes(d));
14471447
}
14481448

14491449
return out.filter(Boolean);

0 commit comments

Comments
 (0)