1
Fork 0
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:
Kevin Amado 2025-04-10 16:45:08 -06:00
parent 3e2a855066
commit cb66042a0c
2 changed files with 1 additions and 2 deletions

View file

@ -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
}