fix(cli): doctor warnings about irrelevant bytecode

This would check for stale bytecode across all profiles or even .local*
directories created by shell.nix, which is unnecessary.
This commit is contained in:
Henrik Lissner 2022-09-10 19:17:21 +02:00
parent 45a66cda60
commit 7a2fa1e313
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -139,7 +139,8 @@ in."
(explain! "The second directory will be ignored, as it has lower precedence."))) (explain! "The second directory will be ignored, as it has lower precedence.")))
(print! (start "Checking for stale elc files...")) (print! (start "Checking for stale elc files..."))
(elc-check-dir doom-emacs-dir) (elc-check-dir doom-core-dir)
(elc-check-dir doom-local-dir)
(print! (start "Checking for problematic git global settings...")) (print! (start "Checking for problematic git global settings..."))
(if (executable-find "git") (if (executable-find "git")