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