From cb66042a0ccf7ebe3c67048ec926c6048a4762a7 Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Thu, 10 Apr 2025 16:45:08 -0600 Subject: [PATCH] feat: add default config for web version --- buildkite.yaml | 1 - front/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/buildkite.yaml b/buildkite.yaml index 206ac5c..6c0ba7a 100644 --- a/buildkite.yaml +++ b/buildkite.yaml @@ -36,7 +36,6 @@ steps: if: build.branch != "main" artifacts: - formatting-before-vs-after.patch.txt - - formatting-after.patch.txt command: - echo +++ Formatting - demo - nix run . -- flake.nix diff --git a/front/src/lib.rs b/front/src/lib.rs index 4129bf6..8ef364c 100644 --- a/front/src/lib.rs +++ b/front/src/lib.rs @@ -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 }