Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Lohachov Mykhailo <[email protected]>
  • Loading branch information
aoyako committed Oct 30, 2024
1 parent 986a835 commit 7a5b957
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/iroha_wasm_builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ mod internal {
.wrap_err("Failed to retrieve package name")?;

let build_mode_dir = if self.release { "release" } else { "debug" };
let full_out_dir = self.out_dir.join(format!("wasm32-unknown-unknown/{build_mode_dir}/"));
let full_out_dir = self
.out_dir
.join(format!("wasm32-unknown-unknown/{build_mode_dir}/"));
let wasm_file = full_out_dir.join(package_name).with_extension("wasm");

let previous_hash = if wasm_file.exists() {
Expand Down

0 comments on commit 7a5b957

Please sign in to comment.