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 fe1bf58 commit aa37339Copy full SHA for aa37339
ql/lib/codeql/actions/Ast.qll
@@ -5,7 +5,6 @@ module Utils {
5
bindingset[expr]
6
string normalizeExpr(string expr) {
7
result =
8
- //[A-Za-z0-9'\"_\\[\\]\\*\\(\\)\\.\\-]
9
expr.regexpReplaceAll("\\['([a-zA-Z0-9_\\*\\-]+)'\\]", ".$1")
10
.regexpReplaceAll("\\[\"([a-zA-Z0-9_\\*\\-]+)\"\\]", ".$1")
11
.regexpReplaceAll("\\s*\\.\\s*", ".")
ql/lib/codeql/actions/ast/internal/Ast.qll
@@ -47,7 +47,7 @@ private newtype TAstNode =
47
)
48
49
or
50
- // if's conditions do not need to be delimted with ${{}}
+ // `if`'s conditions do not need to be delimted with ${{}}
51
exists(YamlMapping m |
52
m.maps(key, value) and
53
key.(YamlScalar).getValue() = ["if"] and
0 commit comments