Skip to content

Commit 3d5567d

Browse files
Alvaro Muñozjorgectf
andauthored
Update ql/lib/codeql/actions/Ast.qll
Co-authored-by: Jorge <[email protected]>
1 parent a28f8e9 commit 3d5567d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/lib/codeql/actions/Ast.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AstNode instanceof YamlNode {
2323
class Statement extends AstNode {
2424
/** Gets the workflow that this job is a part of. */
2525
WorkflowStmt getEnclosingWorkflowStmt() {
26-
exists(WorkflowStmt w | w.getAChildNode*() = this and result = w)
26+
this = result.getAChildNode*()
2727
}
2828
}
2929

0 commit comments

Comments
 (0)