fix(cli): excessive "cannot find X" logs

It doesn't really matter if these files can't be found, and it only
services to fill up the logs with noise.
This commit is contained in:
Henrik Lissner
2022-09-24 22:02:14 +02:00
parent c20ba77ff7
commit 5f37069402

View File

@ -200,10 +200,7 @@ list remains lean."
((file-exists-p error-file)
(when (file-newer-than-file-p file error-file)
(doom-log "packages:eln: %s is newer than %s" file error-file)
t))
((file-exists-p (byte-compile-dest-file file))
(doom-log "packages:eln: cannot find %s" eln-name)
t)))))
t))))))
(defun doom-packages--native-compile-done-h (file)
"Callback fired when an item has finished async compilation."