Merge branch 'untrusted_co'

This commit is contained in:
Alvaro Muñoz
2024-03-14 16:15:53 +01:00

View File

@@ -855,7 +855,14 @@ class StepsExpressionImpl extends SimpleReferenceExpressionImpl {
override string getFieldName() { result = fieldName }
override AstNodeImpl getTarget() {
this.getEnclosingJob() = result.getEnclosingJob() and
(
this.getEnclosingJob() = result.getEnclosingJob()
or
exists(CompositeActionImpl a |
a.getAChildNode*() = this and
a.getAChildNode*() = result
)
) and
result.(StepImpl).getId() = stepId
}