Merge pull request #2925 from rushsteve1/develop

doom/upgrade use -y CLI flag
This commit is contained in:
Henrik Lissner 2020-04-24 00:11:48 -04:00 committed by GitHub
commit 08d0eae595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,6 +136,6 @@ imported into Emacs."
(defun doom/upgrade ()
"Run 'doom upgrade' then prompt to restart Emacs."
(interactive)
(doom--if-compile (format "%s upgrade" doom-bin)
(doom--if-compile (format "%s -y upgrade" doom-bin)
(when (y-or-n-p "You must restart Emacs for the upgrade to take effect.\n\nRestart Emacs?")
(doom/restart-and-restore))))