fix(cli): doctor: false positive 'X.elc is out-of-date' warnings
The doctor would look for stale byte-code in *all* build directories, which was excessive and produced many false positives for folks who use multiple versions of Emacs or have recently up/downgraded.
This commit is contained in:
parent
07171185bb
commit
3f16c82877
1 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,8 @@ in."
|
||||||
|
|
||||||
(print! (start "Checking for stale elc files..."))
|
(print! (start "Checking for stale elc files..."))
|
||||||
(elc-check-dir doom-core-dir)
|
(elc-check-dir doom-core-dir)
|
||||||
(elc-check-dir doom-local-dir)
|
(elc-check-dir doom-modules-dir)
|
||||||
|
(elc-check-dir (doom-path doom-local-dir "straight" straight-build-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")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue