fix(cli): void-function doom-clean-byte-compiled-files on 'doom upgrade'

This function was renamed in 6c0b7e1.

Amend: 6c0b7e1530
This commit is contained in:
Henrik Lissner 2022-06-19 12:07:01 +02:00
parent fb7f4c6cbe
commit 979495cf33
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -3,6 +3,7 @@
;;; Code: ;;; Code:
(load! "packages") (load! "packages")
(load! "compile")
;; ;;
@ -124,7 +125,7 @@ following shell commands:
(ignore (print! (error "Aborted"))) (ignore (print! (error "Aborted")))
(print! (start "Upgrading Doom Emacs...")) (print! (start "Upgrading Doom Emacs..."))
(print-group! (print-group!
(doom-clean-byte-compiled-files) (doom-compile-clean)
(let ((straight-recipe (doom-upgrade--get-straight-recipe))) (let ((straight-recipe (doom-upgrade--get-straight-recipe)))
(or (and (zerop (car (doom-call-process "git" "reset" "--hard" target-remote))) (or (and (zerop (car (doom-call-process "git" "reset" "--hard" target-remote)))
(equal (cdr (doom-call-process "git" "rev-parse" "HEAD")) new-rev)) (equal (cdr (doom-call-process "git" "rev-parse" "HEAD")) new-rev))