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

This function was removed in 63c470b.

Amend: 63c470bff3
This commit is contained in:
Henrik Lissner 2024-03-27 10:25:32 -04:00
parent d6a3450917
commit 3f966f49d8
No known key found for this signature in database
GPG Key ID: B60957CA074D39A3

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))