Include the file extension.

This commit is contained in:
Bauke 2023-06-07 20:20:05 +02:00
parent f1a685f13b
commit 207e021404
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,8 @@ pub async fn run() -> Result<()> {
write_assets(&output).await?; write_assets(&output).await?;
if let Some(group) = user_count_group { if let Some(group) = user_count_group {
let path = output.join(&format!("charts/user-count/{}", &group.name)); let path =
output.join(&format!("charts/user-count/{}.svg", &group.name));
copy(path, output.join("charts/main-user-count.svg")).await?; copy(path, output.join("charts/main-user-count.svg")).await?;
} }
} }