1
Fork 0
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:
Kevin Amado 2022-02-24 14:07:18 -05:00
parent 08627c847e
commit 424e300ab5

View file

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