From 424e300ab505fbbb844f9811a09efb20444b8094 Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Thu, 24 Feb 2022 14:07:18 -0500 Subject: [PATCH] fix: update wasm signatures --- front/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/front/src/lib.rs b/front/src/lib.rs index bbea347..88202e2 100644 --- a/front/src/lib.rs +++ b/front/src/lib.rs @@ -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) }