From 4734aa8b290f1ccbe0d47d1ce1fac45c13158f56 Mon Sep 17 00:00:00 2001 From: marco-dd <44383269+marcodoordash@users.noreply.github.com> Date: Fri, 5 Feb 2021 13:16:09 -0800 Subject: [PATCH] Update stageByRefId description (#2128) The description of the stageByRefId helper function has an example that uses #stage() instead of #stageByRefId() Co-authored-by: aimeeu --- reference/pipeline/expressions/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/pipeline/expressions/index.md b/reference/pipeline/expressions/index.md index db1f82322a..535fa632ba 100644 --- a/reference/pipeline/expressions/index.md +++ b/reference/pipeline/expressions/index.md @@ -204,7 +204,7 @@ access a property via `${#stage("Bake")["context"]["desiredProperty"]}`. ### #stageByRefId(String) -A shortcut to get the stage by its `refId`. For example, `${#stage("3")}` allows +A shortcut to get the stage by its `refId`. For example, `${#stageByRefId("3")}` allows you to access the stage with `refId = 3`. ### #currentStage()