bin/doom-doctor: fix shell command output
This commit is contained in:
parent
6bc9a58ad4
commit
658c33bc2a
1 changed files with 1 additions and 1 deletions
|
@ -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$"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue