Skip to content

Commit

Permalink
Document behavior of duplicate parameter keys
Browse files Browse the repository at this point in the history
Documenting the conversion behavior that happens when transforming to a `dict` [here](https://github.com/CircleCI-Public/path-filtering-orb/blob/712b70dba289e8c4e2a737e00cea10e7038d1962/src/scripts/create-parameters.py#L61) so we can rely on it elsewhere without it being an implementation detail. 

- 💭  Do we want to support this explicitly?
  • Loading branch information
neeasade authored Apr 23, 2021
1 parent 712b70d commit 27559ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/set-parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ parameters:
default: ""
description: >
Mapping of path regular expressions to pipeline parameters and
values. One mapping per line, whitespace-delimited.
values. One mapping per line, whitespace-delimited. If duplicate
parameter keys are found, the last matching pattern will apply.
output-path:
type: string
default: "/tmp/pipeline-parameters.json"
Expand Down

0 comments on commit 27559ea

Please sign in to comment.