Repair error in call to projectPaths

This commit is contained in:
Tony Garnock-Jones 2019-06-08 16:02:23 +01:00
parent 5e6c1e5cb9
commit 163bf7e9ea
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ Index.prototype.addHandler = function(analysisResults, callback) {
leaf.cachedAssertions.forEach((a) => {
return unpackScoped(a, (restrictionPaths, term) => {
if (restrictionPaths === false || restrictionPaths.equals(capturePaths)) {
let captures = projectPaths(a, capturePaths);
let captures = projectPaths(term, capturePaths);
mutable.set(captures, mutable.get(captures, 0) + 1);
}
return true;