PathEvents has none fix
All checks were successful
Build / Build NPM Project (push) Successful in 36s
Build / Tag Version (push) Successful in 10s
Build / Publish Documentation (push) Successful in 1m47s

This commit is contained in:
2024-10-23 21:39:42 -04:00
parent a1ea8cdf67
commit b292d5ed17
3 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ export class PathEvent {
const filtered = parsedTarget.filter(p => r.fullPath.startsWith(p.fullPath));
if(!filtered.length) return false;
const combined = PathEvent.combine(...filtered);
return !combined.none && (combined.all || new ASet(combined.methods).intersection(new ASet(r.methods)).length);
return (!combined.none && (combined.all || r.all)) || combined.methods.intersection(r.methods).length;
});
}