Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

Commit

Permalink
fixup! fixup! fixup! fixup! wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qfox committed Jan 18, 2017
1 parent 62194a7 commit 0b9bfda
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/mixed-graph-resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ function resolve(mixedGraph, startVertices, tech, backsort) {
if (!weak && _orderedVisits[fromVertex.id] === false) {
if (crumbs.filter(c => (c.entity.id === fromVertex.entity.id) &&
(!c.tech || c.tech === fromVertex.tech)).length) {
console.log('THROW', weak, crumbs.map(v => v.id));
throw new CircularDependencyError(crumbs.concat(fromVertex)); // TODO: правильно считать цикл
}
}
Expand Down

0 comments on commit 0b9bfda

Please sign in to comment.