From 56107c109270be41121dda98bd7e7bbde8d82202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 2 Sep 2024 20:35:18 +0300 Subject: [PATCH] fix(component): use correct formatting for repository metadata (#75) --- component/template/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/component/template/Cargo.toml b/component/template/Cargo.toml index 7f83181..2c32ee2 100644 --- a/component/template/Cargo.toml +++ b/component/template/Cargo.toml @@ -5,7 +5,9 @@ edition = "2021" description = "{{project-description}}" authors = ["{{authors}}"] build = "build.rs" -{%- if repository != "" %}repository = "{{repository}}"{% endif %} +{% if repository != "" -%} +repository = "{{repository}}" +{%- endif %} # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html