From aa0bdc7607ac0e3ab420f86983ef99e36a8fca16 Mon Sep 17 00:00:00 2001 From: Ethan Dennis Date: Mon, 19 Sep 2022 16:01:07 -0700 Subject: [PATCH] Create file before opening it --- azure_devops/5-custom-transformers.md | 4 ++-- circle_ci/5-custom-transformers.md | 2 +- gitlab/5-custom-transformers.md | 2 +- jenkins/5-custom-transformers.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/azure_devops/5-custom-transformers.md b/azure_devops/5-custom-transformers.md index 8b2658a..6d2d0d5 100644 --- a/azure_devops/5-custom-transformers.md +++ b/azure_devops/5-custom-transformers.md @@ -94,10 +94,10 @@ You can use custom transformers to override Valet's default behavior. In this sc shell: bash ``` -Now you can begin to write the custom transformer. Customer transformers use a DSL built on top of Ruby and should be defined in a file with the `.rb` file extension. You can create this file by running the following command in your codespace terminal: +Now you can begin to write the custom transformer. Custom transformers use a DSL built on top of Ruby and should be defined in a file with the `.rb` file extension. You can create this file by running the following command in your codespace terminal: ```bash -code transformers.rb +touch transformers.rb && code transformers.rb ``` Next, you will define a `transform` method for the `DotnetCoreCLI@2` identifier by adding the following code to `transformers.rb`: diff --git a/circle_ci/5-custom-transformers.md b/circle_ci/5-custom-transformers.md index 3fc5189..04a7d05 100644 --- a/circle_ci/5-custom-transformers.md +++ b/circle_ci/5-custom-transformers.md @@ -81,7 +81,7 @@ The converted workflow above contains an `codecov_codecov_upload` step that was Now you can begin to write the custom transformer. Custom transformers use a DSL built on top of Ruby and should be defined in a file with the `.rb` file extension. You can create this file by running the following command in your codespace terminal: ```bash -code transformers.rb +touch transformers.rb && code transformers.rb ``` Next, you will define a `transform` method for the `codecov_codecov_upload` identifier by adding the following code to `transformers.rb`: diff --git a/gitlab/5-custom-transformers.md b/gitlab/5-custom-transformers.md index 7466dc9..5413ed4 100644 --- a/gitlab/5-custom-transformers.md +++ b/gitlab/5-custom-transformers.md @@ -74,7 +74,7 @@ The converted workflow above contains an `artifacts.terraform` step that was not Now you can begin to write the custom transformer. Custom transformers use a DSL built on top of Ruby and should be defined in a file with the `.rb` file extension. You can create this file by running the following command in your codespace terminal: ```bash -code transformers.rb +touch transformers.rb && code transformers.rb ``` Next, you will define a `transform` method for the `artifacts.terraform` identifier by adding the following code to `transformers.rb`: diff --git a/jenkins/5-custom-transformers.md b/jenkins/5-custom-transformers.md index 91a9f6e..281c4a2 100644 --- a/jenkins/5-custom-transformers.md +++ b/jenkins/5-custom-transformers.md @@ -92,7 +92,7 @@ The converted workflow above contains a `sleep` step was not automatically conve Now you can begin to write the custom transformer. Custom transformers use a DSL built on top of Ruby and should be defined in a file with the `.rb` file extension. You can create this file by running the following command in your codespace terminal: ```bash -code transformers.rb +touch transformers.rb && code transformers.rb ``` Next, you will define a `transform` method for the `sleep` identifier by adding the following code to `transformers.rb`: