Skip to content

Commit

Permalink
Fix the order of the variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Jul 5, 2024
1 parent 39482e7 commit 53996df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions substrate/utils/wasm-builder/src/wasm_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,12 @@ fn maybe_compact_and_compress_wasm(
// profile is `Debug`, because the blob built in `Debug` profile is too slow for normal
// development activities.
let (compact_compressed_blob_path, compact_blob_path) = if profile.wants_compact() {
let (compressed, compact_blob_path) =
compact_wasm_file(project, profile, blob_name, bloaty_blob_binary.wasm_binary_bloaty_path());
let (compact_blob_path, compressed) = compact_wasm_file(
project,
profile,
blob_name,
bloaty_blob_binary.wasm_binary_bloaty_path(),
);
(compressed, compact_blob_path)
} else {
(None, None)
Expand Down

0 comments on commit 53996df

Please sign in to comment.