We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d10f14 commit a5acaebCopy full SHA for a5acaeb
ql/ql/src/codeql_ql/ast/Ast.qll
@@ -2532,8 +2532,15 @@ module YAML {
2532
* Gets a QLPack that this QLPack depends on.
2533
*/
2534
QLPack getADependency() {
2535
- exists(string name | this.hasDependency(name, _) |
2536
- result.getName().replaceAll("-", "/") = name.replaceAll("-", "/")
+ exists(string rawDep, string dep, string name | this.hasDependency(rawDep, _) |
+ dep = rawDep.replaceAll("-", "/") and
2537
+ name = result.getName().replaceAll("-", "/") and
2538
+ (
2539
+ name = dep
2540
+ or
2541
+ name.matches("codeql/%") and
2542
+ name = dep + "/all"
2543
+ )
2544
)
2545
}
2546
0 commit comments