We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb2d00e commit de88d27Copy full SHA for de88d27
1 file changed
extensions/ql-vscode/src/log-insights/join-order.ts
@@ -51,7 +51,7 @@ function getDependentPredicates(operations: string[]): I.List<string> {
51
const matches = r.exec(operation.trim());
52
return I.List(matches!)
53
.rest() // Skip the first group as it's just the entire string
54
- .filter(x => !!x && !x.match('r[0-9]+|PRIMITIVE')) // Only keep the references to predicates.
+ .filter(x => !x?.match('r[0-9]+|PRIMITIVE')) // Only keep the references to predicates.
55
.flatMap(x => x.split(',')) // Group 2 in the INVOKE HIGHER_ORDER RELATION case is a comma-separated list of identifiers.
56
.filter(x => !!x); // Remove empty strings
57
});
0 commit comments