aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEllis KenyƑ <elken@users.noreply.github.com>2022-09-14 03:05:22 +0100
committerGitHub <noreply@github.com>2022-09-13 19:05:22 -0700
commit9101a3380cb1a86e8bb78d80e716266b0a484c67 (patch)
treef9bc07a958f466c341368f53695841048ed3a49d /test
parente01ced3ac985eabd51dad348d04974cefa778625 (diff)
Assume filename correctly (#128)
Fixes #108 Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/formatters/apheleia-ft.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/formatters/apheleia-ft.el b/test/formatters/apheleia-ft.el
index db2422b..b560441 100755
--- a/test/formatters/apheleia-ft.el
+++ b/test/formatters/apheleia-ft.el
@@ -271,7 +271,9 @@ environment variable, defaulting to all formatters."
in-temp-file)
(`output
out-temp-file)
- (_ arg)))
+ ((guard (stringp arg))
+ arg)
+ (_ (eval arg))))
command))
(setq command (delq 'npx command))
(setq stdout-buffer (get-buffer-create