From 567114c7134348e9fede5271cae6f471f1f1d89a Mon Sep 17 00:00:00 2001
From: MareStare <mare.stare.official@gmail.com>
Date: Sun, 23 Mar 2025 04:01:55 +0000
Subject: [PATCH] Autoformat elixir in pre-commit hook

---
 .githooks/pre-commit | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.githooks/pre-commit b/.githooks/pre-commit
index 59642a12..d20f29fd 100755
--- a/.githooks/pre-commit
+++ b/.githooks/pre-commit
@@ -6,7 +6,7 @@
 # You can install this hook and some of its dependencies by running `scripts/init.sh`.
 
 set -euxo pipefail
-# ```
+
 function command_exists() {
   bin_name=$(basename "$1")
 
@@ -44,7 +44,7 @@ if command_exists cargo; then
 fi
 
 if command_exists mix; then
-  echo "$files" | xargs mix format --check-formatted
+  echo "$files" | xargs mix format
 fi
 
 # Add the modified/prettified files to staging