We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
root
1 parent 32d29ff commit cf72fdeCopy full SHA for cf72fde
1 file changed
shared/cryptography/codeql/cryptography/Model.qll
@@ -32,13 +32,16 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
32
UnknownPropertyValue() { this = "<unknown>" }
33
}
34
35
+ bindingset[root]
36
private string getPropertyAsGraphString(NodeBase node, string key, Location root) {
37
result =
38
strictconcat(any(string value, Location location, string parsed |
39
node.properties(key, value, location) and
- if location = root or location instanceof UnknownLocation
40
- then parsed = value
41
- else parsed = "(" + value + "," + location.toString() + ")"
+ (
+ if location = root or location instanceof UnknownLocation
42
+ then parsed = value
43
+ else parsed = "(" + value + "," + location.toString() + ")"
44
+ )
45
|
46
parsed
47
), ","
0 commit comments