Skip to content

Commit

Permalink
chore: Address SonarCloud "Sonar Way" code smells (#1712)
Browse files Browse the repository at this point in the history
  • Loading branch information
PT-GD authored Mar 7, 2024
1 parent 7d215b2 commit e493836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/generate-template-variable-doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def update_doc(doc: str, template_path: str) -> str:
for var, val in all_vars.items():
if val is not None:
if val == "":
val = f"`\"\"`"
val = "`\"\"`"
else:
val = f"```{val}```"
else:
Expand Down
2 changes: 1 addition & 1 deletion templates/test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/aws-ec2/amazon-ec2-metadata-mock:v1.11.2 as aemm
FROM public.ecr.aws/aws-ec2/amazon-ec2-metadata-mock:v1.11.2 AS aemm
FROM public.ecr.aws/amazonlinux/amazonlinux:2
RUN amazon-linux-extras enable docker && \
yum install -y jq containerd wget which && \
Expand Down

0 comments on commit e493836

Please sign in to comment.