fix(lib): update doom/upgrade
-y switch was replaced with -!/--force in6c0b7e1
. Amend:6c0b7e1530
This commit is contained in:
parent
d231755bdf
commit
315960b9a8
1 changed files with 1 additions and 1 deletions
|
@ -121,6 +121,6 @@ imported into Emacs."
|
||||||
(defun doom/upgrade ()
|
(defun doom/upgrade ()
|
||||||
"Run 'doom upgrade' then prompt to restart Emacs."
|
"Run 'doom upgrade' then prompt to restart Emacs."
|
||||||
(interactive)
|
(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?")
|
(when (y-or-n-p "You must restart Emacs for the upgrade to take effect.\n\nRestart Emacs?")
|
||||||
(doom/restart-and-restore))))
|
(doom/restart-and-restore))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue