From 666bc341bf1284cbaecc3de6a4aca9985afec725 Mon Sep 17 00:00:00 2001 From: Elijah Mooring Date: Wed, 14 Aug 2024 16:12:39 -0700 Subject: [PATCH] fix(cli): actually include the version in the runtime default url --- cli/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.rs b/cli/main.rs index 4f8de1ab..c9ea81e2 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -38,7 +38,7 @@ const VERSION: &str = "0.7.0"; #[command(styles = get_styles(), version(VERSION))] struct Command { /// The runtime to use. Must be a url. - #[arg(long, default_value_t = Url::parse("https://raw.githubusercontent.com/radical-ui/svelte-toolbox/blob/{VERSION}/runtime/mod.tsx").unwrap())] + #[arg(long, default_value_t = Url::parse(&format!("https://raw.githubusercontent.com/radical-ui/svelte-toolbox/blob/{VERSION}/runtime/mod.tsx")).unwrap())] runtime: Url, /// The platform to build for. Defaults to `web`.