Skip to content

Commit

Permalink
fix(cli): actually include the version in the runtime default url
Browse files Browse the repository at this point in the history
  • Loading branch information
Vehmloewff committed Aug 14, 2024
1 parent ae57c5b commit 666bc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 666bc34

Please sign in to comment.