mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
bin/doom-doctor: fix shell command output
This commit is contained in:
@ -43,7 +43,7 @@
|
|||||||
(defun sh (cmd &rest args)
|
(defun sh (cmd &rest args)
|
||||||
(ignore-errors
|
(ignore-errors
|
||||||
(string-trim-right
|
(string-trim-right
|
||||||
(shell-command-to-string (apply #'format cmd args)))))
|
(shell-command-to-string (if args (apply #'format cmd args) cmd)))))
|
||||||
|
|
||||||
(defun elc-check-dir (dir)
|
(defun elc-check-dir (dir)
|
||||||
(dolist (file (directory-files-recursively dir "\\.elc$"))
|
(dolist (file (directory-files-recursively dir "\\.elc$"))
|
||||||
|
Reference in New Issue
Block a user