bin/doom-doctor: fix shell command output

This commit is contained in:
Henrik Lissner 2019-09-21 14:18:29 -04:00
parent 6bc9a58ad4
commit 658c33bc2a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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$"))