fix(cli): doom upgrade: remove doom-compile-clean call

This function was removed in 63c470b.

Amend: 63c470bff328
This commit is contained in:
Henrik Lissner 2024-03-27 10:25:32 -04:00 committed by Yann Esposito (Yogsototh)
parent 05242c4e9a
commit 3b40b33c90
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -30,7 +30,6 @@ following shell commands:
cd ~/.emacs.d
git pull --rebase
doom clean
doom sync -u"
(let* ((force? (doom-cli-context-suppress-prompts-p context))
(sync-cmd (append '("sync" "-u")
@ -140,7 +139,6 @@ following shell commands:
(ignore (print! (error "Aborted")))
(print! (start "Upgrading Doom Emacs..."))
(print-group!
(doom-compile-clean)
(doom-cli-context-put context 'straight-recipe (doom-upgrade--get-straight-recipe))
(or (and (zerop (car (sh! "git" "reset" "--hard" target-remote)))
(equal (cdr (sh! "git" "rev-parse" "HEAD")) new-rev))