Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Commit

Permalink
Update stageByRefId description (#2128)
Browse files Browse the repository at this point in the history
The description of the stageByRefId helper function has an example that uses #stage() instead of #stageByRefId()

Co-authored-by: aimeeu <[email protected]>
  • Loading branch information
marcodoordash and aimeeu authored Feb 5, 2021
1 parent f090ab9 commit 4734aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/pipeline/expressions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4734aa8

Please sign in to comment.