radian-software / apheleia

🌷 Run code formatter on buffer contents without moving point, using RCS patches and dynamic programming.
MIT License
517 stars 73 forks source link

Don't use "apheleia-npx" bash script on Windows #297

Open simendsjo opened 2 months ago

simendsjo commented 2 months ago

I have the following script which replaces the use with just npx to avoid silent failures:

(cl-dolist (item apheleia-formatters)
      (when (and (consp (cdr item)) (equalp "apheleia-npx" (cadr item)))
        (setf (cadr item) "npx")))