From 207e02140406348bc7dfc32633b3f42b1539788b Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 7 Jun 2023 20:20:05 +0200 Subject: [PATCH] Include the file extension. --- source/cli/run.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/cli/run.rs b/source/cli/run.rs index 67d848c..6a380cd 100644 --- a/source/cli/run.rs +++ b/source/cli/run.rs @@ -130,7 +130,8 @@ pub async fn run() -> Result<()> { write_assets(&output).await?; 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?; } }