Skip to content

Commit

Permalink
fix(component): use correct formatting for repository metadata (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 2, 2024
1 parent 7be2a70 commit 56107c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion component/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 56107c1

Please sign in to comment.