From 3d5567d6988c4e4197014a2111393f003842b466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Mu=C3=B1oz?= Date: Wed, 21 Feb 2024 16:50:44 +0100 Subject: [PATCH] Update ql/lib/codeql/actions/Ast.qll Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com> --- ql/lib/codeql/actions/Ast.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/lib/codeql/actions/Ast.qll b/ql/lib/codeql/actions/Ast.qll index 2e93187b6bf..8f04005be8f 100644 --- a/ql/lib/codeql/actions/Ast.qll +++ b/ql/lib/codeql/actions/Ast.qll @@ -23,7 +23,7 @@ class AstNode instanceof YamlNode { class Statement extends AstNode { /** Gets the workflow that this job is a part of. */ WorkflowStmt getEnclosingWorkflowStmt() { - exists(WorkflowStmt w | w.getAChildNode*() = this and result = w) + this = result.getAChildNode*() } }