fix(cmake): Fix spacing with missing variable (#2135)

This fixes the additional space when the `version` variable can't be
populated.
This commit is contained in:
Thomas O'Donnell
2021-01-16 13:27:02 +01:00
committed by GitHub
parent 5722b17f9e
commit 12494da38a
3 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -444,12 +444,12 @@ The `cmake` module shows the currently installed version of CMake if any of the
### Options
| Option | Default | Description |
| ---------- | ---------------------------------- | -------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
| `style` | `"bold blue"` | The style for the module. |
| `disabled` | `false` | Disables the `cmake` module. |
| Option | Default | Description |
| ---------- | ------------------------------------ | -------------------------------------------- |
| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
| `style` | `"bold blue"` | The style for the module. |
| `disabled` | `false` | Disables the `cmake` module. |
### Variables