Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Dec 1, 2023
1 parent 7a63059 commit 59375f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/compile/front.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ async fn bindgen(proj: &Project) -> Result<Outcome<Product>> {
CommandResult::Failure(_) => return Ok(Outcome::Failed),
_ => {}
}
let data = fs::read(&wasm_file.dest).await?;
}

let data = fs::read(&wasm_file.dest).await?;
let br_file = File::create(format!("{}.br", wasm_file.dest.as_str()))?;
let mut br_writer = CompressorWriter::new(
br_file,
Expand Down

0 comments on commit 59375f7

Please sign in to comment.