Skip to content

Commit 626328c

Browse files
committed
PS: Flip the parent child relation.
1 parent db46ca0 commit 626328c

File tree

2 files changed

+369
-369
lines changed

2 files changed

+369
-369
lines changed

powershell/ql/lib/semmle/code/powershell/Ast.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import powershell
33
class Ast extends @ast {
44
string toString() { none() }
55

6-
Ast getParent() { parent(result, this) }
6+
Ast getParent() { parent(this, result) } // TODO: Flip parent and child in relation in the extractor
77

88
Location getLocation() { none() }
99
}

0 commit comments

Comments
 (0)