Skip to content

Commit aa37339

Browse files
author
Alvaro Muñoz
authored
Apply suggestions from code review
1 parent fe1bf58 commit aa37339

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ql/lib/codeql/actions/Ast.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module Utils {
55
bindingset[expr]
66
string normalizeExpr(string expr) {
77
result =
8-
//[A-Za-z0-9'\"_\\[\\]\\*\\(\\)\\.\\-]
98
expr.regexpReplaceAll("\\['([a-zA-Z0-9_\\*\\-]+)'\\]", ".$1")
109
.regexpReplaceAll("\\[\"([a-zA-Z0-9_\\*\\-]+)\"\\]", ".$1")
1110
.regexpReplaceAll("\\s*\\.\\s*", ".")

ql/lib/codeql/actions/ast/internal/Ast.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private newtype TAstNode =
4747
)
4848
)
4949
or
50-
// if's conditions do not need to be delimted with ${{}}
50+
// `if`'s conditions do not need to be delimted with ${{}}
5151
exists(YamlMapping m |
5252
m.maps(key, value) and
5353
key.(YamlScalar).getValue() = ["if"] and

0 commit comments

Comments
 (0)