mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
fix: update wasm signatures
This commit is contained in:
parent
08627c847e
commit
424e300ab5
1 changed files with 1 additions and 3 deletions
|
@ -12,7 +12,5 @@ pub fn main() -> Result<(), JsValue> {
|
|||
|
||||
#[wasm_bindgen]
|
||||
pub fn format(before: String, path: String) -> String {
|
||||
let config = alejandra_engine::config::Config::default();
|
||||
|
||||
alejandra_engine::format::string_or_passthrough(&config, path, before)
|
||||
alejandra_engine::format::string_or_passthrough(path, before)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue