mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 13:07:47 +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]
|
#[wasm_bindgen]
|
||||||
pub fn format(before: String, path: String) -> String {
|
pub fn format(before: String, path: String) -> String {
|
||||||
let config = alejandra_engine::config::Config::default();
|
alejandra_engine::format::string_or_passthrough(path, before)
|
||||||
|
|
||||||
alejandra_engine::format::string_or_passthrough(&config, path, before)
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue