Skip to content

Commit 8f54508

Browse files
committed
removes extraneous new lines from terminal commands
1 parent 7105bd3 commit 8f54508

File tree

1 file changed

+2
-2
lines changed
  • themes/psh-docs/layouts/shortcodes/ddev

1 file changed

+2
-2
lines changed

themes/psh-docs/layouts/shortcodes/ddev/token.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Then add the token to your DDEV configuration.
77
You can do so globally (easiest for most people):
88

99
```bash
10-
ddev config global --web-environment-add={{ `{{< vendor/prefix_cli >}}` | .Page.RenderString }}_CLI_TOKEN={{ `{{< variable "API_TOKEN" >}}` | .Page.RenderString }}
10+
ddev config global --web-environment-add={{ `{{< vendor/prefix_cli >}}` | .Page.RenderString | chomp }}_CLI_TOKEN={{ `{{< variable "API_TOKEN" >}}` | .Page.RenderString }}
1111
```
1212

1313
You can also add the token only to the project:
1414

1515
```bash
16-
ddev config --web-environment-add={{ `{{< vendor/prefix_cli >}}` | .Page.RenderString }}_CLI_TOKEN={{ `{{< variable "API_TOKEN" >}}` | .Page.RenderString }}
16+
ddev config --web-environment-add={{ `{{< vendor/prefix_cli >}}` | .Page.RenderString | chomp }}_CLI_TOKEN={{ `{{< variable "API_TOKEN" >}}` | .Page.RenderString }}
1717
```
1818
<!-- shortcode end {{ .Name }} -->

0 commit comments

Comments
 (0)