mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: add default config for web version
This commit is contained in:
parent
3e2a855066
commit
cb66042a0c
2 changed files with 1 additions and 2 deletions
|
@ -10,5 +10,5 @@ pub fn main() -> Result<(), JsValue> {
|
|||
|
||||
#[wasm_bindgen]
|
||||
pub fn format(before: String, path: String) -> String {
|
||||
alejandra::format::in_memory(path, before).1
|
||||
alejandra::format::in_memory(path, before, Default::default()).1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue