Update travis/4-custom-transformers.md

Co-authored-by: j-dunham <j-dunham@github.com>
This commit is contained in:
Begona Guereca
2022-09-16 09:29:29 -07:00
committed by GitHub
parent fd7327b8d6
commit 545a625a58
+1 -1
View File
@@ -153,7 +153,7 @@ The converted workflow that is generated by the above command will now use the c
+ aws deploy create-deployment --application-name MyApp --deployment-group-name MyDeploymentGroup --github-location repository=$GITHUB_REPOSITORY,commitId=$commit_hash --ignore-application-stop-failures
```
_Note_: We hard coded certain values such as the `application-name`, but we can apply these properties programatically as well. If you were unsure what the data structure of `item` was, you could use the following code in the custom transformer to print `item` to the console:
_Note_: We hard coded certain values such as the `application-name`, but we can apply these properties programmatically as well by using the item passed into the transform method. If you were unsure what the data structure of `item` was, you could use the following code in the custom transformer to print `item` to the console:
```ruby
transform "codecov_codecov_upload" do |item|