Repair error in call to projectPaths
This commit is contained in:
parent
5e6c1e5cb9
commit
163bf7e9ea
|
@ -147,7 +147,7 @@ Index.prototype.addHandler = function(analysisResults, callback) {
|
||||||
leaf.cachedAssertions.forEach((a) => {
|
leaf.cachedAssertions.forEach((a) => {
|
||||||
return unpackScoped(a, (restrictionPaths, term) => {
|
return unpackScoped(a, (restrictionPaths, term) => {
|
||||||
if (restrictionPaths === false || restrictionPaths.equals(capturePaths)) {
|
if (restrictionPaths === false || restrictionPaths.equals(capturePaths)) {
|
||||||
let captures = projectPaths(a, capturePaths);
|
let captures = projectPaths(term, capturePaths);
|
||||||
mutable.set(captures, mutable.get(captures, 0) + 1);
|
mutable.set(captures, mutable.get(captures, 0) + 1);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue