Skip to content

Commit

Permalink
Update cast_version variable to have it in one line
Browse files Browse the repository at this point in the history
Co-authored-by: Wojciech Szymczyk <[email protected]>
  • Loading branch information
ddoktorski and THenry14 authored Dec 6, 2023
1 parent aab5a10 commit 9d15f17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/cast/src/starknet_commands/script/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ fn add_dependencies(script_root_dir: &Utf8PathBuf) -> Result<()> {
}

fn add_sncast_std_dependency(script_root_dir: &Utf8PathBuf) -> Result<()> {
let cast_version = env!("CARGO_PKG_VERSION");
let cast_version = format!("v{cast_version}");
let cast_version = format!("v{}", env!("CARGO_PKG_VERSION"));

ScarbCommand::new()
.current_dir(script_root_dir)
Expand Down

0 comments on commit 9d15f17

Please sign in to comment.