Create file before opening it

This commit is contained in:
Ethan Dennis
2022-09-19 16:01:07 -07:00
committed by GitHub
parent 12fcd5afb5
commit aa0bdc7607
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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`:
+1 -1
View File
@@ -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`:
+1 -1
View File
@@ -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`:
+1 -1
View File
@@ -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`: