Skip to content

Commit

Permalink
fix rewriter lib
Browse files Browse the repository at this point in the history
  • Loading branch information
r58Playz committed Oct 21, 2024
1 parent a3bed65 commit 040ef7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rewriter/src/rewrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ pub fn rewrite(js: &str, url: Url, config: Config) -> Result<Vec<u8>> {
let err = err.with_source_code(cloned);
println!("oxc parse error {err:?}");
#[cfg(target_family = "wasm")]
error(&format!("oxc parse error {err:?}"))
crate::error(&format!("oxc parse error {err:?}"))
}

let program = ret.program;
Expand Down

0 comments on commit 040ef7b

Please sign in to comment.