mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 17:11:40 -05:00
[#156] Fix error when first arg is symbol
This commit is contained in:
parent
9f1ee0385a
commit
4f2e4cd925
2 changed files with 2 additions and 2 deletions
|
@ -32,6 +32,8 @@ The format is based on [Keep a Changelog].
|
|||
details.
|
||||
* Npx commands in apheleia-formatters are not overwritten when
|
||||
expanding binary path to node_modules directory ([#152]).
|
||||
* Error is no longer reported when the first element of a command is
|
||||
an evaluable form rather than a literal string ([#156]).
|
||||
|
||||
### Formatters
|
||||
* [`crystal tool
|
||||
|
|
|
@ -766,8 +766,6 @@ cmd is to be run."
|
|||
(when (memq 'npx command)
|
||||
(setq npx t)
|
||||
(setq command (remq 'npx command)))
|
||||
(unless (stringp (car command))
|
||||
(error "Command cannot start with %S" (car command)))
|
||||
(when (and npx remote-match)
|
||||
(when-let ((project-dir
|
||||
(locate-dominating-file
|
||||
|
|
Loading…
Add table
Reference in a new issue