cli/upgrade: fix -y/--yes for 'doom upgrade'
Otherwise, 'doom upgrade' throws 'Unrecognized switch "-y"' error after updating Doom.
This commit is contained in:
parent
724bf9aa08
commit
a0d94e0db7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ following shell commands:
|
|||
(if (delq
|
||||
nil (list
|
||||
(doom-cli-upgrade doom-auto-accept force-p)
|
||||
(doom-cli-execute "refresh" (if doom-auto-accept '("-y")))
|
||||
(doom-cli-execute "refresh")
|
||||
(when (doom-cli-packages-update)
|
||||
(doom-cli-reload-package-autoloads 'force)
|
||||
t)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue