From b3f5687f96862d920aed571afc0acdc9c37c6fcf Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Fri, 17 Feb 2023 12:12:38 -0600 Subject: [PATCH 1/2] adding note about circleci example and puts --- circle_ci/5-custom-transformers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/circle_ci/5-custom-transformers.md b/circle_ci/5-custom-transformers.md index d6df889..dcd843b 100644 --- a/circle_ci/5-custom-transformers.md +++ b/circle_ci/5-custom-transformers.md @@ -125,6 +125,12 @@ transform "codecov_codecov_upload" do |item| end ``` +In this case, `puts` will only print `{}` to the console since there are no properties of the CircleCI step. In the source configuration, it simply appears as: + +```yml +- codecov/upload +``` + ## Custom transformers for environment variables You can use custom transformers to edit the values of environment variables in converted workflows. In this example, you will update the `COVERAGE_DIR` environment variable to be `$RUNNER_TEMP/cov` instead of `./tmp/cov`. From 9a13315187f3298e8b872115e2a9db062dfdfab4 Mon Sep 17 00:00:00 2001 From: Ethan Dennis Date: Fri, 17 Feb 2023 10:44:12 -0800 Subject: [PATCH 2/2] Update 5-custom-transformers.md --- circle_ci/5-custom-transformers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle_ci/5-custom-transformers.md b/circle_ci/5-custom-transformers.md index dcd843b..a1ffb4a 100644 --- a/circle_ci/5-custom-transformers.md +++ b/circle_ci/5-custom-transformers.md @@ -125,7 +125,7 @@ transform "codecov_codecov_upload" do |item| end ``` -In this case, `puts` will only print `{}` to the console since there are no properties of the CircleCI step. In the source configuration, it simply appears as: +In this example, `puts` will output an empty hash (i.e. `{}`) to the console since there are no properties configured for the CircleCI step. The step from the CircleCI pipeline is: ```yml - codecov/upload