aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rwxr-xr-xscripts/formatters/apheleia-mix-format2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 40e6d5c..1260fcc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,8 @@ The format is based on [Keep a Changelog].
* `mix format` is now passed the `--stdin-filename` argument which is
required in some cases. The version of Mix is autodetected and this
option is only passed when it is supported ([#319]).
+* `mix format` is now run with `MIX_QUIET` to supress compilation
+ output ([#326])
* Beancount files are formatted without an error ([#309]).
## Internal
@@ -49,6 +51,7 @@ The format is based on [Keep a Changelog].
[#316]: https://github.com/radian-software/apheleia/pull/316
[#317]: https://github.com/radian-software/apheleia/issues/317
[#319]: https://github.com/radian-software/apheleia/pull/319
+[#326]: https://github.com/radian-software/apheleia/pull/326
[#327]: https://github.com/radian-software/apheleia/pull/327
## 4.2 (released 2024-08-03)
diff --git a/scripts/formatters/apheleia-mix-format b/scripts/formatters/apheleia-mix-format
index a93bea0..21531d7 100755
--- a/scripts/formatters/apheleia-mix-format
+++ b/scripts/formatters/apheleia-mix-format
@@ -32,4 +32,4 @@ if [[ "${ver}" == "${higher_ver}" ]]; then
fi
args+=(-)
-exec "${args[@]}"
+MIX_QUIET=1 exec "${args[@]}"