bugfix: don't include root in general depth rule
This commit is contained in:
parent
2c7a2fa3e0
commit
03cba85029
@ -1142,6 +1142,7 @@ depth(Package, N + 1) :-
|
|||||||
max_depth - 1
|
max_depth - 1
|
||||||
},
|
},
|
||||||
N = 0..max_depth - 1,
|
N = 0..max_depth - 1,
|
||||||
|
not attr("root", Package),
|
||||||
attr("node", Package).
|
attr("node", Package).
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user