mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(lib): update doom/upgrade
-y switch was replaced with -!/--force in6c0b7e1
. Amend:6c0b7e1530
This commit is contained in:
@ -121,6 +121,6 @@ imported into Emacs."
|
||||
(defun doom/upgrade ()
|
||||
"Run 'doom upgrade' then prompt to restart Emacs."
|
||||
(interactive)
|
||||
(doom--if-compile (format "%S -y upgrade" doom-bin)
|
||||
(doom--if-compile (format "%S upgrade --force" doom-bin)
|
||||
(when (y-or-n-p "You must restart Emacs for the upgrade to take effect.\n\nRestart Emacs?")
|
||||
(doom/restart-and-restore))))
|
||||
|
Reference in New Issue
Block a user