return errors from rewriter, clean up code, update oxc

This commit is contained in:
Toshit Chawda 2024-10-21 22:27:55 -07:00
parent e1a71bef1d
commit 66929af43c
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
7 changed files with 218 additions and 192 deletions

View file

@ -130,6 +130,7 @@ fn dorewrite(source_text: &str) -> Result<String> {
strict_rewrites: true,
},
)?
.0
.as_slice(),
)?
.to_string())