diff options
| author | Frédéric Giquel <frederic.giquel@laposte.net> | 2025-12-23 20:24:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-23 11:24:34 -0800 |
| commit | 426616cf1799dbce89800ae2fe9f155311436503 (patch) | |
| tree | 897ca1ec66b9d8d1ffbbea33aaf9ca3e2d1a9142 /CHANGELOG.md | |
| parent | 8a6b75008d0cb5c5dabb08281ad2393ba4341d1c (diff) | |
apheleia-npx: return silently when formatter is missing (#383)
Behavior of `aphaleia-npx` currently differs from other formatters by
triggering an error when formatter is missing (causing a message to be
displayed in minibuffer and an error buffer to be created).
This PR adds a test to check if command is on user's PATH before
executing it in order to make `aphaleia-npx` silently ends when the
formatter command is not found at project and system level.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 09e3bd4..3cda2e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog]. ### Bugs fixed * `shfmt` did not work with `apheleia-formatters-respect-indent-level` +* `apheleia-npx` did return an error when formatter was missing [#380]: https://github.com/radian-software/apheleia/pull/380 [#382]: https://github.com/radian-software/apheleia/pull/382 |
