Skip to content

Commit

Permalink
fix(yaml): Fix spaces before comments (#2756)
Browse files Browse the repository at this point in the history
Tools like `yamllint` by default set two spaces from content to comment:

https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.comments

Output the yaml comment for renvoate to pass yamllint.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
  • Loading branch information
bhundven committed Mar 20, 2024
1 parent 5ffde49 commit 74a0c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/initcmd/init.go
Expand Up @@ -21,7 +21,7 @@ const configTemplate = `---
# - all
registries:
- type: standard
ref: %%STANDARD_REGISTRY_VERSION%% # renovate: depName=aquaproj/aqua-registry
ref: %%STANDARD_REGISTRY_VERSION%% # renovate: depName=aquaproj/aqua-registry
packages:
`

Expand Down

0 comments on commit 74a0c86

Please sign in to comment.