Skip to content

Commit 950a10b

Browse files
committed
PS: Fix CFG ordering on CmdExpr.
1 parent 830bf57 commit 950a10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell/ql/lib/semmle/code/powershell/controlflow/internal/ControlFlowGraphImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ module Trees {
727727
}
728728
}
729729

730-
class CmdExprTree extends StandardPreOrderTree instanceof CmdExpr {
730+
class CmdExprTree extends StandardPostOrderTree instanceof CmdExpr {
731731
override AstNode getChildNode(int i) { i = 0 and result = super.getExpr() }
732732
}
733733

0 commit comments

Comments
 (0)